Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.945/1.945, allocations: 390.4 MB / 397.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 195.3 kB / 490.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.4 MB / 0.7863 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 94.53 kB / 0.9264 GB, free: 64.43 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.343/0.3441, allocations: 149.1 MB / 1.072 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.7019, allocations: 143 MB / 1.212 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.822, allocations: 441.9 MB / 1.643 GB, free: 12.67 MB / 1.123 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.822, allocations: 76.8 kB / 1.643 GB, free: 12.6 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.6171/2.439, allocations: 13.86 MB / 1.657 GB, free: 377 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/2.439, allocations: 11.12 kB / 1.657 GB, free: 377 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/2.439, allocations: 15.44 kB / 1.657 GB, free: 377 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/2.44, allocations: 242.1 kB / 1.657 GB, free: 376.8 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/2.44, allocations: 23.69 kB / 1.657 GB, free: 376.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/2.44, allocations: 7.5 kB / 1.657 GB, free: 376.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006976/2.44, allocations: 0.6159 MB / 1.658 GB, free: 376.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/2.441, allocations: 220.7 kB / 1.658 GB, free: 376.7 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/2.441, allocations: 0 / 1.658 GB, free: 376.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/2.441, allocations: 0 / 1.658 GB, free: 376.7 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/2.441, allocations: 3.656 kB / 1.658 GB, free: 376.7 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/2.441, allocations: 273.1 kB / 1.658 GB, free: 376.6 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/2.442, allocations: 415.8 kB / 1.659 GB, free: 376.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/2.442, allocations: 168.6 kB / 1.659 GB, free: 376.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/2.442, allocations: 388.2 kB / 1.659 GB, free: 376.2 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/2.442, allocations: 34.19 kB / 1.659 GB, free: 376.1 MB / 1.123 GB Notification: Performance of pre-optimization done (n=37): time 1.422e-06/2.442, allocations: 4.562 kB / 1.659 GB, free: 376.1 MB / 1.123 GB Notification: Performance of matching and sorting (n=37): time 0.002812/2.445, allocations: 0.6965 MB / 1.66 GB, free: 376.1 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/2.445, allocations: 55.03 kB / 1.66 GB, free: 376 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/2.445, allocations: 111 kB / 1.66 GB, free: 375.9 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/2.445, allocations: 28.8 kB / 1.66 GB, free: 375.9 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 1.582e-05/2.445, allocations: 92.09 kB / 1.66 GB, free: 375.8 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/2.445, allocations: 119.3 kB / 1.66 GB, free: 375.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/2.445, allocations: 0 / 1.66 GB, free: 375.7 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/2.445, allocations: 332.2 kB / 1.661 GB, free: 375.4 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/2.445, allocations: 133.4 kB / 1.661 GB, free: 375.4 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/2.446, allocations: 133.8 kB / 1.661 GB, free: 375.4 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/2.448, allocations: 0.493 MB / 1.661 GB, free: 375.4 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/2.448, allocations: 3.844 kB / 1.661 GB, free: 375.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002749/2.451, allocations: 0.694 MB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/2.451, allocations: 7.625 kB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/2.451, allocations: 0 / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/2.451, allocations: 0 / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/2.451, allocations: 117.1 kB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/2.451, allocations: 5.031 kB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/2.451, allocations: 67.55 kB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/2.451, allocations: 14.83 kB / 1.662 GB, free: 375.4 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001009/2.452, allocations: 105.1 kB / 1.662 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/2.452, allocations: 22.89 kB / 1.662 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/2.455, allocations: 0.7561 MB / 1.663 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/2.455, allocations: 10.89 kB / 1.663 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.455, allocations: 0 / 1.663 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/2.455, allocations: 0 / 1.663 GB, free: 375.2 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/2.455, allocations: 281.1 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/2.455, allocations: 3.562 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/2.455, allocations: 120.9 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/2.455, allocations: 0 / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/2.455, allocations: 10.34 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/2.455, allocations: 3.656 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/2.455, allocations: 0.9375 kB / 1.663 GB, free: 375 MB / 1.123 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002755/2.458, allocations: 0.7346 MB / 1.664 GB, free: 374.9 MB / 1.123 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002779/2.461, allocations: 1.114 MB / 1.665 GB, free: 374.5 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/2.461, allocations: 100.6 kB / 1.665 GB, free: 374.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/2.461, allocations: 3.906 kB / 1.665 GB, free: 374.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/2.461, allocations: 54.06 kB / 1.665 GB, free: 374.4 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/2.461, allocations: 75.58 kB / 1.665 GB, free: 374.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/2.461, allocations: 16.91 kB / 1.665 GB, free: 374.4 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.305e-05/2.461, allocations: 102 kB / 1.666 GB, free: 374.3 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009537/2.462, allocations: 125.9 kB / 1.666 GB, free: 374.3 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.000545/2.463, allocations: 243.4 kB / 1.666 GB, free: 374.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005743/2.464, allocations: 346.2 kB / 1.666 GB, free: 374.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.464, allocations: 0 / 1.666 GB, free: 374.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/2.464, allocations: 202.9 kB / 1.666 GB, free: 374.2 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/2.464, allocations: 57.55 kB / 1.666 GB, free: 374.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/2.465, allocations: 308.7 kB / 1.667 GB, free: 374.1 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/2.465, allocations: 0.7833 MB / 1.668 GB, free: 373.4 MB / 1.123 GB Notification: Performance of SimCode: time 2.71e-07/2.465, allocations: 0 / 1.668 GB, free: 373.4 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat