Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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 9.1.1-maint.9.1.x/package.mo): time 1.961/1.961, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 173.2 kB / 487 MB, free: 5.375 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.291/1.291, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009608, allocations: 90.33 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5037/0.5047, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.7329, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8845/1.617, allocations: 417.7 MB / 1.613 GB, free: 6.453 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.618, allocations: 68.78 kB / 1.613 GB, free: 6.418 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0429/1.661, allocations: 19.08 MB / 1.632 GB, free: 7.039 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.661, allocations: 12 kB / 1.632 GB, free: 7.027 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/1.661, allocations: 3.906 kB / 1.632 GB, free: 7.023 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/1.661, allocations: 167 kB / 1.632 GB, free: 6.82 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/1.661, allocations: 4 kB / 1.632 GB, free: 6.816 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.661, allocations: 7.906 kB / 1.632 GB, free: 6.809 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.535e-05/1.661, allocations: 15.17 kB / 1.632 GB, free: 6.797 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/1.661, allocations: 57.09 kB / 1.632 GB, free: 6.738 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.661, allocations: 0 / 1.632 GB, free: 6.738 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/1.661, allocations: 0 / 1.632 GB, free: 6.738 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.661, allocations: 4 kB / 1.632 GB, free: 6.734 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/1.662, allocations: 137.4 kB / 1.632 GB, free: 6.566 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/1.662, allocations: 44.11 kB / 1.632 GB, free: 6.523 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/1.662, allocations: 12.11 kB / 1.632 GB, free: 6.512 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009016/1.663, allocations: 0.6036 MB / 1.633 GB, free: 5.809 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.663, allocations: 37.75 kB / 1.633 GB, free: 5.766 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/1.663, allocations: 3.938 kB / 1.633 GB, free: 5.762 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0005905/1.663, allocations: 270 kB / 1.633 GB, free: 5.457 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/1.663, allocations: 51.41 kB / 1.633 GB, free: 5.395 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/1.664, allocations: 96.11 kB / 1.633 GB, free: 5.297 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.664, allocations: 25.7 kB / 1.633 GB, free: 5.266 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/1.664, allocations: 91.98 kB / 1.633 GB, free: 5.172 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/1.664, allocations: 29 kB / 1.633 GB, free: 5.148 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.664, allocations: 0 / 1.633 GB, free: 5.148 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.664, allocations: 322.4 kB / 1.634 GB, free: 4.828 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/1.664, allocations: 4 kB / 1.634 GB, free: 4.824 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/1.664, allocations: 55.84 kB / 1.634 GB, free: 4.758 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/1.664, allocations: 19.11 kB / 1.634 GB, free: 4.742 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.664, allocations: 0 / 1.634 GB, free: 4.742 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001264/1.664, allocations: 84.5 kB / 1.634 GB, free: 4.66 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.664, allocations: 8 kB / 1.634 GB, free: 4.652 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.664, allocations: 0 / 1.634 GB, free: 4.652 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.664, allocations: 4.047 kB / 1.634 GB, free: 4.648 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/1.664, allocations: 31.41 kB / 1.634 GB, free: 4.621 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.664, allocations: 0 / 1.634 GB, free: 4.621 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/1.664, allocations: 7.938 kB / 1.634 GB, free: 4.613 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/1.664, allocations: 4 kB / 1.634 GB, free: 4.609 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.664, allocations: 102.4 kB / 1.634 GB, free: 4.504 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/1.664, allocations: 7.906 kB / 1.634 GB, free: 4.496 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/1.665, allocations: 6.938 kB / 1.634 GB, free: 4.496 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.665, allocations: 0 / 1.634 GB, free: 4.496 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.665, allocations: 0 / 1.634 GB, free: 4.496 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.665, allocations: 4 kB / 1.634 GB, free: 4.492 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/1.665, allocations: 155.6 kB / 1.634 GB, free: 4.309 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.665, allocations: 3.938 kB / 1.634 GB, free: 4.305 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/1.665, allocations: 16.23 kB / 1.634 GB, free: 4.289 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.665, allocations: 4 kB / 1.634 GB, free: 4.285 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/1.665, allocations: 4 kB / 1.634 GB, free: 4.281 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.665, allocations: 0 / 1.634 GB, free: 4.281 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.665, allocations: 3.938 kB / 1.634 GB, free: 4.277 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001793/1.665, allocations: 164.1 kB / 1.634 GB, free: 4.109 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002813/1.665, allocations: 0.5533 MB / 1.635 GB, free: 3.555 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/1.665, allocations: 81.02 kB / 1.635 GB, free: 3.457 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/1.666, allocations: 4 kB / 1.635 GB, free: 3.453 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/1.666, allocations: 3.984 kB / 1.635 GB, free: 3.449 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/1.666, allocations: 3.938 kB / 1.635 GB, free: 3.445 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.666, allocations: 4 kB / 1.635 GB, free: 3.441 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.468e-05/1.666, allocations: 86.59 kB / 1.635 GB, free: 3.359 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008624/1.667, allocations: 19.36 kB / 1.635 GB, free: 3.344 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/1.667, allocations: 145.3 kB / 1.635 GB, free: 3.195 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.667, allocations: 39.47 kB / 1.635 GB, free: 3.164 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.667, allocations: 4 kB / 1.635 GB, free: 3.16 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/1.667, allocations: 15.56 kB / 1.635 GB, free: 3.148 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/1.667, allocations: 3.906 kB / 1.635 GB, free: 3.145 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/1.668, allocations: 269.6 kB / 1.636 GB, free: 2.859 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/1.668, allocations: 0.6997 MB / 1.636 GB, free: 2.133 MB / 1.057 GB Notification: Performance of SimCode: time 2.5e-07/1.668, allocations: 0 / 1.636 GB, free: 2.133 MB / 1.057 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat