Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",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.7345/0.7345, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001122/0.001122, allocations: 185.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.87/1.87, allocations: 205.1 MB / 399.1 MB, free: 6.152 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.0009383/0.0009382, allocations: 89.45 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3178/0.3188, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.5156, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/1.044, allocations: 100.9 MB / 0.7196 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/1.044, allocations: 71.95 kB / 0.7196 GB, free: 11.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002163/1.046, allocations: 485.7 kB / 0.7201 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.046, allocations: 8 kB / 0.7201 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/1.046, allocations: 8 kB / 0.7201 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/1.047, allocations: 175 kB / 0.7203 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.047, allocations: 0 / 0.7203 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/1.047, allocations: 0 / 0.7203 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.977e-05/1.047, allocations: 7.984 kB / 0.7203 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/1.047, allocations: 29.7 kB / 0.7203 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.047, allocations: 0 / 0.7203 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.047, allocations: 3.938 kB / 0.7203 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.047, allocations: 0 / 0.7203 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/1.047, allocations: 142.2 kB / 0.7205 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/1.047, allocations: 18.58 kB / 0.7205 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/1.047, allocations: 12.78 kB / 0.7205 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/1.047, allocations: 0 / 0.7205 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.047, allocations: 38.61 kB / 0.7205 GB, free: 10.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/1.047, allocations: 0 / 0.7205 GB, free: 10.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/1.048, allocations: 41.69 kB / 0.7206 GB, free: 10.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/1.048, allocations: 51.41 kB / 0.7206 GB, free: 10.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/1.048, allocations: 101.6 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/1.048, allocations: 25.7 kB / 0.7207 GB, free: 10 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/1.048, allocations: 88.12 kB / 0.7208 GB, free: 9.914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/1.048, allocations: 7.906 kB / 0.7208 GB, free: 9.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.048, allocations: 0 / 0.7208 GB, free: 9.906 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/1.048, allocations: 310.8 kB / 0.7211 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/1.048, allocations: 10.11 kB / 0.7211 GB, free: 9.586 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/1.048, allocations: 18.45 kB / 0.7212 GB, free: 9.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/1.048, allocations: 8 kB / 0.7212 GB, free: 9.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.048, allocations: 0 / 0.7212 GB, free: 9.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/1.048, allocations: 49.53 kB / 0.7212 GB, free: 9.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.048, allocations: 4 kB / 0.7212 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.048, allocations: 0 / 0.7212 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.048, allocations: 4.125 kB / 0.7212 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/1.049, allocations: 4 kB / 0.7212 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.049, allocations: 3.938 kB / 0.7212 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/1.049, allocations: 4 kB / 0.7212 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/1.049, allocations: 3.984 kB / 0.7212 GB, free: 9.477 MB / 490.7 MB 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 (2): * Single equations (assignments): 2 * 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 0.0001067/1.049, allocations: 108.8 kB / 0.7213 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/1.049, allocations: 0 / 0.7213 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/1.049, allocations: 48.84 kB / 0.7214 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.049, allocations: 4.031 kB / 0.7214 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.049, allocations: 0 / 0.7214 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.049, allocations: 0 / 0.7214 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/1.049, allocations: 138.1 kB / 0.7215 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.049, allocations: 7.875 kB / 0.7215 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/1.049, allocations: 4 kB / 0.7215 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.049, allocations: 0 / 0.7215 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.049, allocations: 0 / 0.7215 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/1.049, allocations: 3.984 kB / 0.7215 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.049, allocations: 0 / 0.7215 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001935/1.05, allocations: 85.84 kB / 0.7216 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003119/1.05, allocations: 465.4 kB / 0.7221 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/1.05, allocations: 77.11 kB / 0.7221 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/1.05, allocations: 0 / 0.7221 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/1.05, allocations: 8.172 kB / 0.7221 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/1.05, allocations: 4.906 kB / 0.7222 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.05, allocations: 7.906 kB / 0.7222 GB, free: 8.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.68e-05/1.05, allocations: 79.28 kB / 0.7222 GB, free: 8.352 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001285/1.051, allocations: 4 kB / 0.7222 GB, free: 8.348 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000175/1.052, allocations: 103.2 kB / 0.7223 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/1.052, allocations: 12 kB / 0.7223 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.052, allocations: 128 / 0.7223 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/1.052, allocations: 15.92 kB / 0.7224 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/1.052, allocations: 4 kB / 0.7224 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/1.052, allocations: 74.81 kB / 0.7224 GB, free: 8.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/1.053, allocations: 0.6919 MB / 0.7231 GB, free: 7.395 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/1.053, allocations: 0 / 0.7231 GB, free: 7.395 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)