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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.7717/0.7717, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001384/0.001384, allocations: 189.2 kB / 164.4 MB, free: 6.867 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.939/1.939, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001182/0.001182, allocations: 89.83 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3402/0.3414, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.5281, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.729, allocations: 360.8 MB / 0.9733 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/1.73, allocations: 81.7 kB / 0.9734 GB, free: 121.3 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.8055/2.535, allocations: 165.1 MB / 1.135 GB, free: 174.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/2.535, allocations: 10.22 kB / 1.135 GB, free: 174.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/2.535, allocations: 47.25 kB / 1.135 GB, free: 174.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03536/2.571, allocations: 13.28 MB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/2.571, allocations: 7.844 kB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/2.571, allocations: 11.78 kB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002615/2.571, allocations: 93.42 kB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/2.571, allocations: 135.7 kB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/2.571, allocations: 0 / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/2.572, allocations: 0 / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/2.572, allocations: 7.75 kB / 1.148 GB, free: 174 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/2.573, allocations: 0.9697 MB / 1.149 GB, free: 173.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/2.573, allocations: 78.52 kB / 1.149 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/2.573, allocations: 28.58 kB / 1.149 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/2.574, allocations: 181.6 kB / 1.149 GB, free: 173 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/2.574, allocations: 30.56 kB / 1.149 GB, free: 173 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/2.574, allocations: 0 / 1.149 GB, free: 173 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0009475/2.575, allocations: 154.8 kB / 1.149 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/2.575, allocations: 55.34 kB / 1.149 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/2.575, allocations: 256 kB / 1.15 GB, free: 172.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/2.575, allocations: 25.7 kB / 1.15 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/2.575, allocations: 156.5 kB / 1.15 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/2.575, allocations: 28.92 kB / 1.15 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/2.575, allocations: 0 / 1.15 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/2.575, allocations: 347.5 kB / 1.15 GB, free: 172.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/2.575, allocations: 25.12 kB / 1.15 GB, free: 172.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/2.575, allocations: 83.23 kB / 1.15 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/2.576, allocations: 46.84 kB / 1.15 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.576, allocations: 3.891 kB / 1.15 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003324/2.576, allocations: 142.6 kB / 1.15 GB, free: 172.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/2.576, allocations: 185.2 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/2.576, allocations: 0 / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/2.576, allocations: 0 / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/2.576, allocations: 43.27 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/2.576, allocations: 3.062 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/2.577, allocations: 35.78 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/2.577, allocations: 10.75 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/2.577, allocations: 2.781 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001975/2.577, allocations: 71.33 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/2.577, allocations: 0 / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/2.577, allocations: 0 / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/2.577, allocations: 33.73 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/2.577, allocations: 0 / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/2.577, allocations: 28.17 kB / 1.151 GB, free: 172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/2.577, allocations: 7.25 kB / 1.151 GB, free: 172 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 8.801e-05/2.578, allocations: 104.2 kB / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/2.578, allocations: 33.31 kB / 1.151 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/2.578, allocations: 151.3 kB / 1.151 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/2.578, allocations: 7.266 kB / 1.151 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.578, allocations: 0 / 1.151 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/2.578, allocations: 0 / 1.151 GB, free: 171.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/2.578, allocations: 256.3 kB / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.578, allocations: 0 / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/2.579, allocations: 30.47 kB / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/2.579, allocations: 10.22 kB / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/2.579, allocations: 0 / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/2.579, allocations: 0 / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.579, allocations: 0 / 1.151 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003001/2.579, allocations: 231.8 kB / 1.152 GB, free: 171.5 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004409/2.579, allocations: 0.6132 MB / 1.152 GB, free: 171 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/2.579, allocations: 107.8 kB / 1.152 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/2.58, allocations: 3.906 kB / 1.152 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/2.58, allocations: 25.64 kB / 1.152 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/2.58, allocations: 5.109 kB / 1.152 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/2.58, allocations: 3.969 kB / 1.152 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001947/2.58, allocations: 202.8 kB / 1.153 GB, free: 170.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002044/2.582, allocations: 192.7 kB / 1.153 GB, free: 170.8 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.000782/2.583, allocations: 275.8 kB / 1.153 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003307/2.583, allocations: 130.7 kB / 1.153 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.583, allocations: 1.375 kB / 1.153 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/2.583, allocations: 43.2 kB / 1.153 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/2.584, allocations: 127.2 kB / 1.153 GB, free: 170.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/2.585, allocations: 347.5 kB / 1.154 GB, free: 170.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/2.586, allocations: 0.8303 MB / 1.154 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/2.586, allocations: 0 / 1.154 GB, free: 169.8 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)