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: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") [: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.7128/0.7128, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001312/0.001312, allocations: 177.3 kB / 164.4 MB, free: 6.883 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.846/1.846, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001025/0.001026, allocations: 79.06 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.348e-06, allocations: 0 / 0.5459 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2209, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.444, allocations: 339.2 MB / 0.9521 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.445, allocations: 65.22 kB / 0.9522 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.04322/1.488, allocations: 19.17 MB / 0.9709 GB, free: 126.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.488, allocations: 4 kB / 0.9709 GB, free: 126.5 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.0007444/1.489, allocations: 467.8 kB / 0.9713 GB, free: 126 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.489, allocations: 16.03 kB / 0.9714 GB, free: 126 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/1.489, allocations: 23.8 kB / 0.9714 GB, free: 126 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/1.489, allocations: 210.2 kB / 0.9716 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.489, allocations: 8 kB / 0.9716 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/1.489, allocations: 12 kB / 0.9716 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004494/1.49, allocations: 404.9 kB / 0.972 GB, free: 125.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/1.49, allocations: 215.9 kB / 0.9722 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.49, allocations: 0 / 0.9722 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/1.49, allocations: 7.906 kB / 0.9722 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/1.49, allocations: 7.984 kB / 0.9722 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.491, allocations: 0.9943 MB / 0.9732 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/1.492, allocations: 146.9 kB / 0.9733 GB, free: 124.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/1.492, allocations: 48.52 kB / 0.9734 GB, free: 124.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/1.493, allocations: 1.924 MB / 0.9752 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.493, allocations: 42 kB / 0.9753 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.493, allocations: 0 / 0.9753 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005644/1.494, allocations: 140.1 kB / 0.9754 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/1.494, allocations: 51.41 kB / 0.9755 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.494, allocations: 135.6 kB / 0.9756 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/1.494, allocations: 25.7 kB / 0.9756 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/1.494, allocations: 139.1 kB / 0.9757 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.494, allocations: 54.89 kB / 0.9758 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/1.494, allocations: 0 / 0.9758 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/1.494, allocations: 329.3 kB / 0.9761 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/1.494, allocations: 23.88 kB / 0.9761 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/1.494, allocations: 131.7 kB / 0.9763 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/1.495, allocations: 88.97 kB / 0.9763 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.495, allocations: 3.938 kB / 0.9763 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005025/1.495, allocations: 208 kB / 0.9765 GB, free: 120.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.495, allocations: 4 kB / 0.9766 GB, free: 120.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.495, allocations: 4 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.495, allocations: 8 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/1.495, allocations: 62.53 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.495, allocations: 7.984 kB / 0.9766 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.495, allocations: 23.69 kB / 0.9767 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.495, allocations: 15.56 kB / 0.9767 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 7.776e-05/1.496, allocations: 113 kB / 0.9768 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/1.496, allocations: 11.81 kB / 0.9768 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/1.496, allocations: 190.7 kB / 0.977 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.496, allocations: 3.906 kB / 0.977 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.496, allocations: 0 / 0.977 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.496, allocations: 4 kB / 0.977 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/1.496, allocations: 180.9 kB / 0.9771 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.496, allocations: 0 / 0.9771 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.497, allocations: 23.98 kB / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.497, allocations: 8 kB / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/1.497, allocations: 7.359 kB / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.497, allocations: 0 / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.497, allocations: 0 / 0.9772 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004346/1.497, allocations: 238.9 kB / 0.9774 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/1.497, allocations: 123.2 kB / 0.9775 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/1.497, allocations: 4 kB / 0.9775 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.497, allocations: 12 kB / 0.9775 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.497, allocations: 7.984 kB / 0.9776 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/1.497, allocations: 11.36 kB / 0.9776 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.98e-05/1.497, allocations: 106.8 kB / 0.9777 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000411/1.498, allocations: 71.56 kB / 0.9777 GB, free: 119.2 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.0002951/1.498, allocations: 182.3 kB / 0.9779 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002448/1.498, allocations: 103.7 kB / 0.978 GB, free: 119 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.498, allocations: 0 / 0.978 GB, free: 119 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/1.498, allocations: 41.11 kB / 0.978 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/1.499, allocations: 37.81 kB / 0.9781 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/1.499, allocations: 167.2 kB / 0.9782 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.5, allocations: 0.7453 MB / 0.979 GB, free: 118 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/1.5, allocations: 3.938 kB / 0.979 GB, free: 118 MB / 0.6198 GB Notification: Performance of Templates: time 0.006856/1.506, allocations: 3.261 MB / 0.9822 GB, free: 114.7 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)