Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8",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.8002/0.8002, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.001269/0.001269, allocations: 185.3 kB / 164.4 MB, free: 6.914 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.721/1.721, allocations: 205.1 MB / 399.1 MB, free: 6.176 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.001004/0.001004, allocations: 90.42 kB / 476.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3394/0.3405, allocations: 82.88 MB / 0.5461 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.5286, allocations: 76.75 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5721/1.101, allocations: 100.9 MB / 0.7195 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.101, allocations: 71.95 kB / 0.7196 GB, free: 11.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001217/1.103, allocations: 401.9 kB / 0.72 GB, free: 10.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.103, allocations: 8 kB / 0.72 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/1.103, allocations: 0 / 0.72 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/1.103, allocations: 167 kB / 0.7202 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.103, allocations: 4 kB / 0.7202 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/1.103, allocations: 0 / 0.7202 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.327e-05/1.103, allocations: 0 / 0.7202 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/1.103, allocations: 47.31 kB / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/1.103, allocations: 0 / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.103, allocations: 0 / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.103, allocations: 0 / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/1.103, allocations: 139.1 kB / 0.7203 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.264e-05/1.103, allocations: 41.27 kB / 0.7204 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/1.103, allocations: 13.72 kB / 0.7204 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/1.103, allocations: 0 / 0.7204 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.103, allocations: 34.56 kB / 0.7204 GB, free: 10.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.103, allocations: 4 kB / 0.7204 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001462/1.104, allocations: 37.55 kB / 0.7205 GB, free: 10.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/1.104, allocations: 77.66 kB / 0.7205 GB, free: 10.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.265e-05/1.104, allocations: 85 kB / 0.7206 GB, free: 10.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.104, allocations: 29.7 kB / 0.7207 GB, free: 10.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/1.104, allocations: 84.12 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/1.104, allocations: 7.938 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.104, allocations: 2.188 kB / 0.7207 GB, free: 10.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/1.104, allocations: 318.8 kB / 0.721 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/1.104, allocations: 0 / 0.721 GB, free: 9.715 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/1.104, allocations: 13.72 kB / 0.7211 GB, free: 9.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/1.104, allocations: 4 kB / 0.7211 GB, free: 9.691 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.104, allocations: 0 / 0.7211 GB, free: 9.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.728e-05/1.104, allocations: 45.62 kB / 0.7211 GB, free: 9.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.104, allocations: 8.125 kB / 0.7211 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.104, allocations: 0 / 0.7211 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.104, allocations: 0.75 kB / 0.7211 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/1.104, allocations: 4 kB / 0.7211 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.104, allocations: 0 / 0.7211 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/1.104, allocations: 0 / 0.7211 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.104, allocations: 7.906 kB / 0.7211 GB, free: 9.621 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 8.149e-05/1.104, allocations: 101 kB / 0.7212 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/1.104, allocations: 3.984 kB / 0.7212 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/1.105, allocations: 48.62 kB / 0.7213 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.105, allocations: 3.938 kB / 0.7213 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.105, allocations: 4 kB / 0.7213 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.105, allocations: 0 / 0.7213 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/1.105, allocations: 138.1 kB / 0.7214 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.105, allocations: 0 / 0.7214 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/1.105, allocations: 4 kB / 0.7214 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.105, allocations: 4 kB / 0.7214 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.105, allocations: 8 kB / 0.7214 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.105, allocations: 0 / 0.7214 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.105, allocations: 2.75 kB / 0.7214 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.796e-05/1.105, allocations: 82.17 kB / 0.7215 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002229/1.105, allocations: 464 kB / 0.7219 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/1.105, allocations: 81.11 kB / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/1.105, allocations: 0 / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.78e-05/1.105, allocations: 0 / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/1.105, allocations: 0 / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/1.105, allocations: 8.031 kB / 0.722 GB, free: 8.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.334e-05/1.105, allocations: 79.28 kB / 0.7221 GB, free: 8.492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007764/1.106, allocations: 10.52 kB / 0.7221 GB, free: 8.484 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001585/1.106, allocations: 95.25 kB / 0.7222 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.826e-05/1.106, allocations: 4 kB / 0.7222 GB, free: 8.379 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.106, allocations: 4 kB / 0.7222 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.805e-06/1.106, allocations: 3.938 kB / 0.7222 GB, free: 8.371 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.601e-05/1.106, allocations: 8.25 kB / 0.7222 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/1.107, allocations: 52.92 kB / 0.7223 GB, free: 8.285 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.107, allocations: 0.6841 MB / 0.7229 GB, free: 7.574 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/1.107, allocations: 0 / 0.7229 GB, free: 7.574 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example8.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)