Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.0009849/0.000985, allocations: 185.8 kB / 7.8 MB, free: 2.469 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4581/0.4581, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.4 MB / 342.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96.58 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.1743, allocations: 78.44 MB / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.5067, allocations: 72.3 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6275/1.134, allocations: 393.4 MB / 0.9372 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.135, allocations: 73.7 kB / 0.9372 GB, free: 11.45 MB / 0.6042 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.3512/1.486, allocations: 13.87 MB / 0.9508 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.486, allocations: 9.562 kB / 0.9508 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/1.486, allocations: 20.06 kB / 0.9508 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.487, allocations: 233.9 kB / 0.951 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/1.487, allocations: 22.14 kB / 0.951 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/1.487, allocations: 6.438 kB / 0.9511 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008422/1.488, allocations: 0.6161 MB / 0.9517 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/1.488, allocations: 228 kB / 0.9519 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.488, allocations: 0 / 0.9519 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/1.488, allocations: 0 / 0.9519 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.488, allocations: 3.875 kB / 0.9519 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/1.488, allocations: 273.3 kB / 0.9521 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/1.489, allocations: 407.2 kB / 0.9525 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.489, allocations: 169.6 kB / 0.9527 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/1.489, allocations: 389 kB / 0.9531 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.489, allocations: 38.19 kB / 0.9531 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/1.489, allocations: 0 / 0.9531 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002961/1.492, allocations: 0.6945 MB / 0.9538 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.492, allocations: 62.16 kB / 0.9538 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/1.492, allocations: 114.3 kB / 0.9539 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.492, allocations: 25.7 kB / 0.954 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/1.492, allocations: 83.73 kB / 0.954 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/1.493, allocations: 114.5 kB / 0.9542 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/1.493, allocations: 3.938 kB / 0.9542 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/1.493, allocations: 331.8 kB / 0.9545 GB, free: 170 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.493, allocations: 138.4 kB / 0.9546 GB, free: 170 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.493, allocations: 138.3 kB / 0.9547 GB, free: 170 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/1.495, allocations: 499.2 kB / 0.9552 GB, free: 170 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.495, allocations: 2.938 kB / 0.9552 GB, free: 170 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002796/1.498, allocations: 0.6926 MB / 0.9559 GB, free: 170 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.498, allocations: 7.344 kB / 0.9559 GB, free: 170 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.498, allocations: 4.469 kB / 0.9559 GB, free: 170 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.498, allocations: 0 / 0.9559 GB, free: 170 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/1.499, allocations: 115.6 kB / 0.956 GB, free: 170 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.499, allocations: 0 / 0.956 GB, free: 170 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/1.499, allocations: 67.86 kB / 0.9561 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/1.499, allocations: 16.22 kB / 0.9561 GB, free: 169.9 MB / 0.6042 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.0001005/1.499, allocations: 109.5 kB / 0.9562 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/1.499, allocations: 15.34 kB / 0.9562 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/1.502, allocations: 0.7655 MB / 0.957 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.502, allocations: 5.469 kB / 0.957 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.502, allocations: 0 / 0.957 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.502, allocations: 0 / 0.957 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/1.503, allocations: 290.9 kB / 0.9572 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.503, allocations: 0 / 0.9572 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/1.503, allocations: 118 kB / 0.9574 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.503, allocations: 0 / 0.9574 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.503, allocations: 10.66 kB / 0.9574 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.503, allocations: 3.312 kB / 0.9574 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.503, allocations: 0 / 0.9574 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00279/1.506, allocations: 0.7362 MB / 0.9581 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002803/1.509, allocations: 1.116 MB / 0.9592 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/1.509, allocations: 92.8 kB / 0.9593 GB, free: 169 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/1.509, allocations: 3.969 kB / 0.9593 GB, free: 169 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/1.509, allocations: 47.61 kB / 0.9593 GB, free: 169 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.509, allocations: 89.22 kB / 0.9594 GB, free: 169 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.509, allocations: 13.66 kB / 0.9594 GB, free: 169 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.768e-05/1.509, allocations: 104.2 kB / 0.9595 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009644/1.51, allocations: 131.1 kB / 0.9596 GB, free: 168.9 MB / 0.6042 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.0004693/1.511, allocations: 239.4 kB / 0.9599 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004518/1.511, allocations: 349.6 kB / 0.9602 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.511, allocations: 3.406 kB / 0.9602 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/1.511, allocations: 201.2 kB / 0.9604 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/1.512, allocations: 51.52 kB / 0.9604 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/1.512, allocations: 313.6 kB / 0.9607 GB, free: 168.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/1.513, allocations: 0.7849 MB / 0.9615 GB, free: 168 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/1.513, allocations: 3.844 kB / 0.9615 GB, free: 168 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)