Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.001078/0.001078, allocations: 176.2 kB / 7.799 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.468/0.468, allocations: 90.84 MB / 99.06 MB, free: 8.922 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.4 MB / 342.7 MB, free: 4.672 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 98.8 kB / 415.5 MB, free: 14.21 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1332/0.1341, allocations: 78.44 MB / 493.9 MB, free: 7.496 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.4738, allocations: 72.32 MB / 0.553 GB, free: 61.63 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5616/1.035, allocations: 390 MB / 0.9338 GB, free: 20.59 MB / 0.5652 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/1.036, allocations: 71.19 kB / 0.9339 GB, free: 20.56 MB / 0.5652 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.05615/1.092, allocations: 26.05 MB / 0.9593 GB, free: 15.38 MB / 0.5808 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.092, allocations: 8 kB / 0.9593 GB, free: 15.37 MB / 0.5808 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/1.092, allocations: 23.8 kB / 0.9593 GB, free: 15.35 MB / 0.5808 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/1.092, allocations: 221.5 kB / 0.9595 GB, free: 15.1 MB / 0.5808 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.092, allocations: 8 kB / 0.9596 GB, free: 15.09 MB / 0.5808 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.092, allocations: 9.312 kB / 0.9596 GB, free: 15.08 MB / 0.5808 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005058/1.093, allocations: 414.1 kB / 0.96 GB, free: 14.75 MB / 0.5808 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/1.093, allocations: 207.3 kB / 0.9602 GB, free: 14.57 MB / 0.5808 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.093, allocations: 3.938 kB / 0.9602 GB, free: 14.57 MB / 0.5808 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.093, allocations: 3.906 kB / 0.9602 GB, free: 14.56 MB / 0.5808 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.093, allocations: 12 kB / 0.9602 GB, free: 14.55 MB / 0.5808 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/1.094, allocations: 0.986 MB / 0.9611 GB, free: 13.57 MB / 0.5808 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/1.095, allocations: 138.2 kB / 0.9613 GB, free: 13.45 MB / 0.5808 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/1.095, allocations: 52.92 kB / 0.9613 GB, free: 13.4 MB / 0.5808 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/1.096, allocations: 1.932 MB / 0.9632 GB, free: 11.16 MB / 0.5808 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.096, allocations: 38.06 kB / 0.9632 GB, free: 11.11 MB / 0.5808 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/1.096, allocations: 2.062 kB / 0.9632 GB, free: 11.11 MB / 0.5808 GB Notification: Performance of matching and sorting (n=15): time 0.0005742/1.097, allocations: 136.2 kB / 0.9634 GB, free: 10.99 MB / 0.5808 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.097, allocations: 55.34 kB / 0.9634 GB, free: 10.92 MB / 0.5808 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.097, allocations: 138.8 kB / 0.9636 GB, free: 10.79 MB / 0.5808 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/1.097, allocations: 29.52 kB / 0.9636 GB, free: 10.76 MB / 0.5808 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/1.097, allocations: 132.2 kB / 0.9637 GB, free: 10.63 MB / 0.5808 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/1.097, allocations: 55.77 kB / 0.9638 GB, free: 10.58 MB / 0.5808 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/1.097, allocations: 3.938 kB / 0.9638 GB, free: 10.58 MB / 0.5808 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.097, allocations: 322.1 kB / 0.9641 GB, free: 10.26 MB / 0.5808 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/1.098, allocations: 35.36 kB / 0.9641 GB, free: 10.23 MB / 0.5808 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.098, allocations: 125.9 kB / 0.9642 GB, free: 10.07 MB / 0.5808 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/1.098, allocations: 86.61 kB / 0.9643 GB, free: 10 MB / 0.5808 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.098, allocations: 0 / 0.9643 GB, free: 10 MB / 0.5808 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005691/1.099, allocations: 205.9 kB / 0.9645 GB, free: 9.816 MB / 0.5808 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.099, allocations: 8.469 kB / 0.9645 GB, free: 9.809 MB / 0.5808 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.099, allocations: 8 kB / 0.9645 GB, free: 9.801 MB / 0.5808 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.099, allocations: 4 kB / 0.9645 GB, free: 9.797 MB / 0.5808 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/1.099, allocations: 55.91 kB / 0.9646 GB, free: 9.742 MB / 0.5808 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.099, allocations: 7.938 kB / 0.9646 GB, free: 9.734 MB / 0.5808 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/1.099, allocations: 19.75 kB / 0.9646 GB, free: 9.715 MB / 0.5808 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.099, allocations: 19.67 kB / 0.9646 GB, free: 9.699 MB / 0.5808 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.992e-05/1.099, allocations: 112.9 kB / 0.9647 GB, free: 9.582 MB / 0.5808 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/1.099, allocations: 16.84 kB / 0.9648 GB, free: 9.566 MB / 0.5808 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/1.1, allocations: 189 kB / 0.9649 GB, free: 9.418 MB / 0.5808 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.1, allocations: 5.031 kB / 0.9649 GB, free: 9.414 MB / 0.5808 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.1, allocations: 3.062 kB / 0.9649 GB, free: 9.414 MB / 0.5808 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.1, allocations: 0 / 0.9649 GB, free: 9.414 MB / 0.5808 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.1, allocations: 185.5 kB / 0.9651 GB, free: 9.207 MB / 0.5808 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.1, allocations: 0 / 0.9651 GB, free: 9.207 MB / 0.5808 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/1.1, allocations: 35.42 kB / 0.9652 GB, free: 9.176 MB / 0.5808 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.1, allocations: 0 / 0.9652 GB, free: 9.176 MB / 0.5808 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.1, allocations: 7.984 kB / 0.9652 GB, free: 9.168 MB / 0.5808 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.1, allocations: 0 / 0.9652 GB, free: 9.168 MB / 0.5808 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.1, allocations: 4 kB / 0.9652 GB, free: 9.164 MB / 0.5808 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004842/1.101, allocations: 233.6 kB / 0.9654 GB, free: 8.938 MB / 0.5808 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006038/1.101, allocations: 0.617 MB / 0.966 GB, free: 8.336 MB / 0.5808 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.102, allocations: 119.9 kB / 0.9661 GB, free: 8.207 MB / 0.5808 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/1.102, allocations: 4 kB / 0.9661 GB, free: 8.203 MB / 0.5808 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/1.102, allocations: 19.92 kB / 0.9661 GB, free: 8.184 MB / 0.5808 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/1.102, allocations: 7.984 kB / 0.9661 GB, free: 8.176 MB / 0.5808 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.102, allocations: 11.67 kB / 0.9661 GB, free: 8.168 MB / 0.5808 GB Notification: Performance of sort global known variables: time 6.315e-05/1.102, allocations: 102.9 kB / 0.9662 GB, free: 8.074 MB / 0.5808 GB Notification: Performance of remove unused functions: time 0.001014/1.103, allocations: 91.28 kB / 0.9663 GB, free: 8 MB / 0.5808 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003713/1.103, allocations: 219.3 kB / 0.9665 GB, free: 7.781 MB / 0.5808 GB Notification: Performance of simCode: created initialization part: time 0.0002358/1.104, allocations: 104.9 kB / 0.9666 GB, free: 7.695 MB / 0.5808 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.104, allocations: 320 / 0.9666 GB, free: 7.695 MB / 0.5808 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/1.104, allocations: 41.84 kB / 0.9667 GB, free: 7.66 MB / 0.5808 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/1.104, allocations: 35.44 kB / 0.9667 GB, free: 7.637 MB / 0.5808 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/1.105, allocations: 163.5 kB / 0.9669 GB, free: 7.461 MB / 0.5808 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/1.105, allocations: 0.7514 MB / 0.9676 GB, free: 6.684 MB / 0.5808 GB Notification: Performance of SimCode: time 2.8e-07/1.105, allocations: 0 / 0.9676 GB, free: 6.684 MB / 0.5808 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)