Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 187 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.494/0.494, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.454/1.454, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.001313/0.001313, allocations: 97.08 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1935/0.1948, allocations: 78.45 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.6866, allocations: 72.29 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.8106, allocations: 99.89 MB / 0.6505 GB, free: 10.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.8109, allocations: 74.33 kB / 0.6506 GB, free: 10.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001365/0.8122, allocations: 491 kB / 0.6511 GB, free: 9.609 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8123, allocations: 8.688 kB / 0.6511 GB, free: 9.602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.8123, allocations: 4 kB / 0.6511 GB, free: 9.598 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.8126, allocations: 171.7 kB / 0.6512 GB, free: 9.391 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.8127, allocations: 4.625 kB / 0.6512 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.8127, allocations: 0.6875 kB / 0.6512 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.794e-05/0.8127, allocations: 4 kB / 0.6512 GB, free: 9.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.8128, allocations: 35.03 kB / 0.6513 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8128, allocations: 0 / 0.6513 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.8128, allocations: 0 / 0.6513 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8128, allocations: 1.219 kB / 0.6513 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.813, allocations: 138.2 kB / 0.6514 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.8131, allocations: 31.84 kB / 0.6514 GB, free: 9.137 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.8131, allocations: 4.859 kB / 0.6514 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.8131, allocations: 7.969 kB / 0.6515 GB, free: 9.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.8131, allocations: 31.78 kB / 0.6515 GB, free: 9.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.8131, allocations: 0 / 0.6515 GB, free: 9.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001414/0.8133, allocations: 38.38 kB / 0.6515 GB, free: 9.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.8133, allocations: 55.41 kB / 0.6516 GB, free: 8.973 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.8134, allocations: 100.7 kB / 0.6517 GB, free: 8.871 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.8135, allocations: 29.7 kB / 0.6517 GB, free: 8.836 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.8135, allocations: 83.42 kB / 0.6518 GB, free: 8.754 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.8135, allocations: 8.875 kB / 0.6518 GB, free: 8.746 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.8135, allocations: 0 / 0.6518 GB, free: 8.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8137, allocations: 315.8 kB / 0.6521 GB, free: 8.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.8137, allocations: 7.984 kB / 0.6521 GB, free: 8.422 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.8137, allocations: 18.66 kB / 0.6521 GB, free: 8.398 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.8137, allocations: 5.094 kB / 0.6521 GB, free: 8.395 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8138, allocations: 0.8438 kB / 0.6521 GB, free: 8.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.269e-05/0.8138, allocations: 41.69 kB / 0.6522 GB, free: 8.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8139, allocations: 4.969 kB / 0.6522 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8139, allocations: 3.906 kB / 0.6522 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8139, allocations: 8.766 kB / 0.6522 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.814, allocations: 3.938 kB / 0.6522 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.814, allocations: 7.953 kB / 0.6522 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.814, allocations: 0 / 0.6522 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.814, allocations: 1.25 kB / 0.6522 GB, free: 8.324 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 7.788e-05/0.8141, allocations: 104.9 kB / 0.6523 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.8141, allocations: 8.531 kB / 0.6523 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.8142, allocations: 49.33 kB / 0.6523 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8143, allocations: 4.578 kB / 0.6523 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8143, allocations: 4 kB / 0.6524 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8143, allocations: 0.7812 kB / 0.6524 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.8144, allocations: 134.2 kB / 0.6525 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8144, allocations: 1.562 kB / 0.6525 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.8145, allocations: 4 kB / 0.6525 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.8145, allocations: 3.906 kB / 0.6525 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8145, allocations: 9.562 kB / 0.6525 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8145, allocations: 0.5938 kB / 0.6525 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8145, allocations: 0 / 0.6525 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001325/0.8146, allocations: 82.77 kB / 0.6526 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002555/0.8149, allocations: 465.4 kB / 0.653 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.815, allocations: 81.02 kB / 0.6531 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.815, allocations: 0 / 0.6531 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.815, allocations: 4.031 kB / 0.6531 GB, free: 7.285 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.815, allocations: 3.938 kB / 0.6531 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.815, allocations: 3.531 kB / 0.6531 GB, free: 7.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.793e-05/0.8151, allocations: 89.73 kB / 0.6532 GB, free: 7.195 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007253/0.8158, allocations: 8 kB / 0.6532 GB, free: 7.188 MB / 474.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.0001347/0.816, allocations: 96.06 kB / 0.6533 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.385e-05/0.816, allocations: 13.11 kB / 0.6533 GB, free: 7.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8161, allocations: 0 / 0.6533 GB, free: 7.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.8161, allocations: 4 kB / 0.6533 GB, free: 7.066 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.8162, allocations: 12.22 kB / 0.6533 GB, free: 7.059 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.8164, allocations: 77.56 kB / 0.6534 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.8167, allocations: 0.6919 MB / 0.6541 GB, free: 6.242 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8167, allocations: 4 kB / 0.6541 GB, free: 6.238 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)