Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 187.9 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4849/0.4849, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 104.2 kB / 415.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1933/0.1947, allocations: 78.45 MB / 494 MB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.6489, allocations: 72.31 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.7756, allocations: 99.84 MB / 0.6505 GB, free: 10.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.7759, allocations: 63.97 kB / 0.6505 GB, free: 10.14 MB / 474.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.0009686/0.7769, allocations: 409 kB / 0.6509 GB, free: 9.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.7769, allocations: 8 kB / 0.6509 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.777, allocations: 5.688 kB / 0.651 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.7771, allocations: 159.1 kB / 0.6511 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7771, allocations: 0 / 0.6511 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.7771, allocations: 4.625 kB / 0.6511 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.809e-05/0.7772, allocations: 0 / 0.6511 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.7773, allocations: 51.95 kB / 0.6512 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.7773, allocations: 1.781 kB / 0.6512 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7773, allocations: 3.984 kB / 0.6512 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7773, allocations: 3.281 kB / 0.6512 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.7775, allocations: 140.4 kB / 0.6513 GB, free: 9.246 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.7776, allocations: 34.2 kB / 0.6513 GB, free: 9.199 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.7776, allocations: 13.88 kB / 0.6513 GB, free: 9.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7776, allocations: 12.53 kB / 0.6514 GB, free: 9.168 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7777, allocations: 36 kB / 0.6514 GB, free: 9.125 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.7777, allocations: 0 / 0.6514 GB, free: 9.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002342/0.7779, allocations: 34.33 kB / 0.6514 GB, free: 9.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.778, allocations: 77.7 kB / 0.6515 GB, free: 8.992 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.556e-05/0.778, allocations: 85.97 kB / 0.6516 GB, free: 8.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.7781, allocations: 25.7 kB / 0.6516 GB, free: 8.871 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.7781, allocations: 85.02 kB / 0.6517 GB, free: 8.785 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.7781, allocations: 15.83 kB / 0.6517 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/0.7782, allocations: 0.5 kB / 0.6517 GB, free: 8.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7783, allocations: 315.8 kB / 0.652 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.7783, allocations: 0 / 0.652 GB, free: 8.453 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.7783, allocations: 14.53 kB / 0.652 GB, free: 8.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.7784, allocations: 1.844 kB / 0.652 GB, free: 8.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7784, allocations: 0 / 0.652 GB, free: 8.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.272e-05/0.7784, allocations: 42.53 kB / 0.6521 GB, free: 8.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7785, allocations: 8 kB / 0.6521 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7785, allocations: 3.938 kB / 0.6521 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7785, allocations: 0.625 kB / 0.6521 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.7786, allocations: 4.594 kB / 0.6521 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7786, allocations: 2.375 kB / 0.6521 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.7786, allocations: 1.438 kB / 0.6521 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.7786, allocations: 4 kB / 0.6521 GB, free: 8.367 MB / 474.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 6.648e-05/0.7787, allocations: 101.6 kB / 0.6522 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.7787, allocations: 3.906 kB / 0.6522 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.7788, allocations: 50.81 kB / 0.6522 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7789, allocations: 0 / 0.6522 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7789, allocations: 0.5 kB / 0.6522 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7789, allocations: 5.562 kB / 0.6522 GB, free: 8.199 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.779, allocations: 130.1 kB / 0.6524 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.779, allocations: 0 / 0.6524 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.779, allocations: 6.906 kB / 0.6524 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.779, allocations: 0 / 0.6524 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.7791, allocations: 5.344 kB / 0.6524 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7791, allocations: 4 kB / 0.6524 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7791, allocations: 0 / 0.6524 GB, free: 8.023 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001028/0.7792, allocations: 90.14 kB / 0.6525 GB, free: 7.91 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002059/0.7794, allocations: 454.7 kB / 0.6529 GB, free: 7.438 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.7795, allocations: 81.02 kB / 0.653 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.7795, allocations: 7.125 kB / 0.653 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.7795, allocations: 0 / 0.653 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.7795, allocations: 0 / 0.653 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7795, allocations: 0 / 0.653 GB, free: 7.336 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.151e-05/0.7796, allocations: 79.91 kB / 0.6531 GB, free: 7.258 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007272/0.7803, allocations: 4.719 kB / 0.6531 GB, free: 7.254 MB / 474.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.0001416/0.7805, allocations: 100.1 kB / 0.6532 GB, free: 7.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.7805, allocations: 12.53 kB / 0.6532 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7806, allocations: 0.6562 kB / 0.6532 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-06/0.7806, allocations: 4.844 kB / 0.6532 GB, free: 7.133 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.7807, allocations: 3.906 kB / 0.6532 GB, free: 7.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.7809, allocations: 64.44 kB / 0.6532 GB, free: 7.043 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.7812, allocations: 0.6802 MB / 0.6539 GB, free: 6.336 MB / 474.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7812, allocations: 0 / 0.6539 GB, free: 6.336 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1)