Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.965/1.965, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 186.1 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 88.23 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3271/0.3281, allocations: 149.1 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/1.115, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/1.294, allocations: 158.9 MB / 1.367 GB, free: 32.75 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/1.294, allocations: 76.64 kB / 1.367 GB, free: 32.68 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.09431/1.389, allocations: 28.82 MB / 1.395 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.389, allocations: 8 kB / 1.395 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/1.389, allocations: 106.8 kB / 1.395 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/1.391, allocations: 1.065 MB / 1.396 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.391, allocations: 14.06 kB / 1.396 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/1.391, allocations: 32 kB / 1.396 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000326/1.391, allocations: 197.2 kB / 1.396 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/1.392, allocations: 357.7 kB / 1.397 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.392, allocations: 0 / 1.397 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/1.392, allocations: 7.891 kB / 1.397 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.392, allocations: 8 kB / 1.397 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/1.394, allocations: 2.407 MB / 1.399 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/1.395, allocations: 355.1 kB / 1.399 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/1.395, allocations: 156.8 kB / 1.4 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.395, allocations: 4 kB / 1.4 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/1.395, allocations: 30.56 kB / 1.4 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/1.395, allocations: 2.438 kB / 1.4 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.0008716/1.396, allocations: 444.6 kB / 1.4 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.396, allocations: 63.34 kB / 1.4 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/1.397, allocations: 0.7622 MB / 1.401 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/1.397, allocations: 25.7 kB / 1.401 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/1.397, allocations: 248.8 kB / 1.401 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/1.397, allocations: 114.3 kB / 1.401 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/1.397, allocations: 0 / 1.401 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002158/1.397, allocations: 394.7 kB / 1.402 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/1.398, allocations: 229.9 kB / 1.402 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/1.398, allocations: 0.6138 MB / 1.402 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/1.399, allocations: 323.4 kB / 1.403 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.399, allocations: 4 kB / 1.403 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001461/1.4, allocations: 0.909 MB / 1.404 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.4, allocations: 4 kB / 1.404 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.4, allocations: 16 kB / 1.404 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/1.401, allocations: 126.7 kB / 1.404 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/1.402, allocations: 187.7 kB / 1.404 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/1.405, allocations: 4.015 MB / 1.408 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.406, allocations: 107 kB / 1.408 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.406, allocations: 44 kB / 1.408 GB, free: 5.664 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.407, allocations: 140.6 kB / 1.408 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.407, allocations: 78.97 kB / 1.408 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/1.407, allocations: 76.41 kB / 1.408 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.407, allocations: 4 kB / 1.408 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.407, allocations: 2.812 kB / 1.408 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.407, allocations: 3.375 kB / 1.408 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/1.408, allocations: 0.6613 MB / 1.409 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.408, allocations: 7.938 kB / 1.409 GB, free: 4.652 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/1.408, allocations: 59.89 kB / 1.409 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/1.409, allocations: 102.4 kB / 1.409 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.409, allocations: 12 kB / 1.409 GB, free: 4.473 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/1.412, allocations: 3.996 MB / 1.413 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/1.412, allocations: 8.062 kB / 1.413 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/1.413, allocations: 0.7041 MB / 1.414 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001354/1.414, allocations: 1.28 MB / 1.415 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/1.415, allocations: 219.8 kB / 1.415 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.415, allocations: 4 kB / 1.415 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/1.415, allocations: 31.95 kB / 1.415 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/1.416, allocations: 15.89 kB / 1.415 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/1.416, allocations: 9.312 kB / 1.415 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0007572/1.416, allocations: 0.5615 MB / 1.416 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001492/1.418, allocations: 279.8 kB / 1.416 GB, free: 12.97 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002791/1.418, allocations: 159.1 kB / 1.416 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001304/1.419, allocations: 0.8402 MB / 1.417 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.419, allocations: 0 / 1.417 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/1.42, allocations: 493.5 kB / 1.418 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/1.421, allocations: 147.9 kB / 1.418 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/1.423, allocations: 1.39 MB / 1.419 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/1.424, allocations: 1.065 MB / 1.42 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/1.424, allocations: 0 / 1.42 GB, free: 8.789 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat