Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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/BuildSysPro 3.5.0/package.mo): time 0.8219/0.8219, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 181.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009594, allocations: 92.42 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3308/0.3318, allocations: 82.87 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.5417, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.704, allocations: 339.2 MB / 0.9522 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.704, allocations: 67.8 kB / 0.9523 GB, free: 141.7 MB / 0.6198 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.04422/1.749, allocations: 19.64 MB / 0.9714 GB, free: 126 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.749, allocations: 12 kB / 0.9715 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/1.749, allocations: 19.81 kB / 0.9715 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/1.749, allocations: 209.4 kB / 0.9717 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.749, allocations: 4 kB / 0.9717 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/1.749, allocations: 8 kB / 0.9717 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004828/1.75, allocations: 412.8 kB / 0.9721 GB, free: 125.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.75, allocations: 221.1 kB / 0.9723 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.75, allocations: 0 / 0.9723 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/1.75, allocations: 7.906 kB / 0.9723 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/1.75, allocations: 4 kB / 0.9723 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.751, allocations: 0.9916 MB / 0.9733 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/1.751, allocations: 146.5 kB / 0.9734 GB, free: 124 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/1.752, allocations: 48.98 kB / 0.9735 GB, free: 124 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.753, allocations: 1.929 MB / 0.9753 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.753, allocations: 42.05 kB / 0.9754 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/1.753, allocations: 0 / 0.9754 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005602/1.753, allocations: 139.6 kB / 0.9755 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/1.754, allocations: 51.41 kB / 0.9756 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.754, allocations: 136.1 kB / 0.9757 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.754, allocations: 25.7 kB / 0.9757 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/1.754, allocations: 143.3 kB / 0.9758 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/1.754, allocations: 54.45 kB / 0.9759 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.754, allocations: 0 / 0.9759 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/1.754, allocations: 322.5 kB / 0.9762 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/1.754, allocations: 23.69 kB / 0.9762 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/1.754, allocations: 136.3 kB / 0.9764 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.754, allocations: 85.19 kB / 0.9764 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.754, allocations: 0 / 0.9764 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005069/1.755, allocations: 210.8 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.755, allocations: 4 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.755, allocations: 4 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.755, allocations: 8 kB / 0.9767 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/1.755, allocations: 59.84 kB / 0.9767 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/1.755, allocations: 4 kB / 0.9767 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/1.755, allocations: 27.97 kB / 0.9767 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/1.755, allocations: 19.81 kB / 0.9768 GB, free: 120.3 MB / 0.6198 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.708e-05/1.755, allocations: 108.9 kB / 0.9769 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/1.755, allocations: 19.75 kB / 0.9769 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/1.756, allocations: 187.6 kB / 0.9771 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.756, allocations: 3.906 kB / 0.9771 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.756, allocations: 0 / 0.9771 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.756, allocations: 7.984 kB / 0.9771 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/1.756, allocations: 180.3 kB / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.756, allocations: 8 kB / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/1.756, allocations: 23.98 kB / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.756, allocations: 4 kB / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/1.756, allocations: 3.875 kB / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.757, allocations: 0 / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.757, allocations: 0 / 0.9773 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004485/1.757, allocations: 243.7 kB / 0.9775 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005018/1.757, allocations: 0.6109 MB / 0.9781 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/1.758, allocations: 119.8 kB / 0.9782 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.758, allocations: 0 / 0.9782 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.758, allocations: 7.984 kB / 0.9782 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/1.758, allocations: 7.984 kB / 0.9782 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/1.758, allocations: 4 kB / 0.9782 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.261e-05/1.758, allocations: 113 kB / 0.9784 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001072/1.759, allocations: 83.27 kB / 0.9784 GB, free: 118.6 MB / 0.6198 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.0003396/1.759, allocations: 183 kB / 0.9786 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002504/1.76, allocations: 106.6 kB / 0.9787 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.76, allocations: 0 / 0.9787 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/1.76, allocations: 39 kB / 0.9787 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/1.76, allocations: 35.2 kB / 0.9788 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/1.761, allocations: 164.6 kB / 0.9789 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.761, allocations: 0.747 MB / 0.9797 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/1.761, allocations: 0 / 0.9797 GB, free: 117.3 MB / 0.6198 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)