Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [: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.744/0.744, 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.001763/0.001763, allocations: 181.3 kB / 164.4 MB, free: 6.902 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.746/1.746, allocations: 205.1 MB / 399.1 MB, free: 6.168 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.0009756/0.0009756, allocations: 85.58 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.336e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.409, allocations: 360.8 MB / 0.9732 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.41, allocations: 87.58 kB / 0.9733 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.6577/2.067, allocations: 164.4 MB / 1.134 GB, free: 175.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.601e-05/2.067, allocations: 15.19 kB / 1.134 GB, free: 175.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009611/2.068, allocations: 0.6686 MB / 1.135 GB, free: 175 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/2.068, allocations: 6.594 kB / 1.135 GB, free: 175 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/2.069, allocations: 41.44 kB / 1.135 GB, free: 174.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03112/2.1, allocations: 13.28 MB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/2.1, allocations: 7.875 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/2.1, allocations: 14.09 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002586/2.1, allocations: 91.8 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/2.1, allocations: 129.4 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/2.1, allocations: 0 / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/2.1, allocations: 3.656 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/2.1, allocations: 3.719 kB / 1.148 GB, free: 174.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/2.102, allocations: 0.9734 MB / 1.149 GB, free: 173.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/2.102, allocations: 79.2 kB / 1.149 GB, free: 173.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/2.102, allocations: 29.97 kB / 1.149 GB, free: 173.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/2.102, allocations: 179.2 kB / 1.149 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/2.102, allocations: 30.56 kB / 1.149 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/2.102, allocations: 0 / 1.149 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0008252/2.103, allocations: 153.2 kB / 1.149 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/2.103, allocations: 54.22 kB / 1.149 GB, free: 173.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/2.103, allocations: 253 kB / 1.15 GB, free: 173 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/2.103, allocations: 29.67 kB / 1.15 GB, free: 173 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/2.104, allocations: 159.6 kB / 1.15 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/2.104, allocations: 26.62 kB / 1.15 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/2.104, allocations: 2.156 kB / 1.15 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/2.104, allocations: 344.7 kB / 1.15 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/2.104, allocations: 27.56 kB / 1.15 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.105e-05/2.104, allocations: 87.89 kB / 1.15 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/2.104, allocations: 44.12 kB / 1.15 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.104, allocations: 0 / 1.15 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003022/2.104, allocations: 151.5 kB / 1.15 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/2.104, allocations: 184.5 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/2.104, allocations: 0 / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/2.104, allocations: 3.75 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/2.105, allocations: 37.31 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/2.105, allocations: 0 / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/2.105, allocations: 33.97 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/2.105, allocations: 14.16 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/2.105, allocations: 3.844 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000189/2.105, allocations: 63.62 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/2.105, allocations: 0 / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/2.105, allocations: 0 / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/2.105, allocations: 36.19 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/2.105, allocations: 0 / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/2.106, allocations: 27.59 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/2.106, allocations: 3.969 kB / 1.151 GB, free: 172.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.771e-05/2.106, allocations: 108.5 kB / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/2.106, allocations: 42.12 kB / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/2.106, allocations: 141.6 kB / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/2.106, allocations: 7.469 kB / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/2.106, allocations: 0 / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/2.106, allocations: 0 / 1.151 GB, free: 172.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/2.106, allocations: 257 kB / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/2.106, allocations: 0 / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/2.107, allocations: 39.06 kB / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/2.107, allocations: 0 / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/2.107, allocations: 0 / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/2.107, allocations: 0 / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/2.107, allocations: 160 / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002506/2.107, allocations: 238.8 kB / 1.152 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/2.107, allocations: 103.9 kB / 1.152 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/2.107, allocations: 0 / 1.152 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/2.107, allocations: 25.62 kB / 1.152 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/2.107, allocations: 3.844 kB / 1.152 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/2.107, allocations: 10.59 kB / 1.152 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001664/2.108, allocations: 205.4 kB / 1.152 GB, free: 171.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006168/2.108, allocations: 152.3 kB / 1.152 GB, free: 171.6 MB / 0.6355 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005867/2.109, allocations: 269.6 kB / 1.152 GB, free: 171.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002571/2.109, allocations: 138 kB / 1.152 GB, free: 171.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.109, allocations: 0.5625 kB / 1.152 GB, free: 171.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/2.109, allocations: 46.09 kB / 1.152 GB, free: 171.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/2.11, allocations: 121.3 kB / 1.153 GB, free: 171.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/2.111, allocations: 346.4 kB / 1.153 GB, free: 171.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/2.111, allocations: 0.8262 MB / 1.154 GB, free: 170.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/2.111, allocations: 0 / 1.154 GB, free: 170.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.01239/2.123, allocations: 6.313 MB / 1.16 GB, free: 170.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)