Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.025/2.025, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001095/0.001095, allocations: 189.2 kB / 490.8 MB, free: 1.949 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.38/1.38, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 87.11 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5786/0.5796, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.8074, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8395/1.647, allocations: 418.5 MB / 1.62 GB, free: 13.66 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.647, allocations: 67.62 kB / 1.62 GB, free: 13.62 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.04393/1.691, allocations: 19.08 MB / 1.639 GB, free: 14.24 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.691, allocations: 8 kB / 1.639 GB, free: 14.23 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/1.691, allocations: 7.906 kB / 1.639 GB, free: 14.23 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.691, allocations: 163.1 kB / 1.639 GB, free: 14.03 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.691, allocations: 4 kB / 1.639 GB, free: 14.02 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/1.692, allocations: 4 kB / 1.639 GB, free: 14.02 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.661e-05/1.692, allocations: 27.64 kB / 1.639 GB, free: 14 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/1.692, allocations: 48.81 kB / 1.639 GB, free: 13.95 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.692, allocations: 0 / 1.639 GB, free: 13.95 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.692, allocations: 0 / 1.639 GB, free: 13.95 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.692, allocations: 0 / 1.639 GB, free: 13.95 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/1.692, allocations: 137.6 kB / 1.639 GB, free: 13.78 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/1.692, allocations: 37.02 kB / 1.639 GB, free: 13.74 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/1.692, allocations: 16.86 kB / 1.639 GB, free: 13.72 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/1.693, allocations: 0.6145 MB / 1.64 GB, free: 13.02 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/1.693, allocations: 30.56 kB / 1.64 GB, free: 12.98 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 5.2e-06/1.693, allocations: 3.984 kB / 1.64 GB, free: 12.97 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.000596/1.694, allocations: 281.2 kB / 1.64 GB, free: 12.66 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/1.694, allocations: 54.72 kB / 1.64 GB, free: 12.59 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/1.694, allocations: 92.94 kB / 1.64 GB, free: 12.5 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/1.694, allocations: 25.7 kB / 1.641 GB, free: 12.46 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/1.694, allocations: 87.98 kB / 1.641 GB, free: 12.38 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/1.694, allocations: 31.3 kB / 1.641 GB, free: 12.35 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.694, allocations: 0 / 1.641 GB, free: 12.35 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.694, allocations: 310.8 kB / 1.641 GB, free: 12.04 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/1.694, allocations: 19.06 kB / 1.641 GB, free: 12.02 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/1.694, allocations: 51.33 kB / 1.641 GB, free: 11.96 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/1.694, allocations: 15.61 kB / 1.641 GB, free: 11.95 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/1.694, allocations: 0 / 1.641 GB, free: 11.95 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000216/1.694, allocations: 83.91 kB / 1.641 GB, free: 11.87 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.694, allocations: 4 kB / 1.641 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.694, allocations: 7.938 kB / 1.641 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.694, allocations: 0 / 1.641 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/1.694, allocations: 19.98 kB / 1.641 GB, free: 11.84 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.694, allocations: 4 kB / 1.641 GB, free: 11.83 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/1.695, allocations: 0 / 1.641 GB, free: 11.83 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.695, allocations: 7.25 kB / 1.641 GB, free: 11.83 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 8.757e-05/1.695, allocations: 113 kB / 1.641 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/1.695, allocations: 3.906 kB / 1.641 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/1.695, allocations: 15.48 kB / 1.641 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.695, allocations: 0 / 1.641 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.695, allocations: 0 / 1.641 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.695, allocations: 0 / 1.641 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.695, allocations: 153.7 kB / 1.641 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.695, allocations: 3.906 kB / 1.641 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/1.695, allocations: 12 kB / 1.641 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.695, allocations: 0 / 1.641 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/1.695, allocations: 4.25 kB / 1.641 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.695, allocations: 8 kB / 1.641 GB, free: 11.49 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.695, allocations: 0 / 1.641 GB, free: 11.49 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000163/1.695, allocations: 168.7 kB / 1.642 GB, free: 11.32 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003108/1.696, allocations: 0.5434 MB / 1.642 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/1.696, allocations: 96.94 kB / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.696, allocations: 0 / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.696, allocations: 4 kB / 1.642 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/1.696, allocations: 3.984 kB / 1.642 GB, free: 10.65 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/1.696, allocations: 4 kB / 1.642 GB, free: 10.65 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.212e-05/1.696, allocations: 75.75 kB / 1.642 GB, free: 10.57 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008195/1.697, allocations: 19.75 kB / 1.642 GB, free: 10.56 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.000238/1.697, allocations: 155.1 kB / 1.642 GB, free: 10.4 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/1.697, allocations: 33.69 kB / 1.642 GB, free: 10.38 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.697, allocations: 4 kB / 1.642 GB, free: 10.37 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/1.697, allocations: 11.25 kB / 1.643 GB, free: 10.36 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/1.697, allocations: 11.17 kB / 1.643 GB, free: 10.36 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/1.698, allocations: 265.6 kB / 1.643 GB, free: 10.07 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/1.698, allocations: 0.7163 MB / 1.643 GB, free: 9.332 MB / 1.057 GB Notification: Performance of SimCode: time 2.8e-07/1.698, allocations: 0 / 1.643 GB, free: 9.332 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat