Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 185.3 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 97.58 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3319/0.3328, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.5042, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.9807, allocations: 131.1 MB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.9809, allocations: 65.66 kB / 1.013 GB, free: 7.355 MB / 0.6355 GB 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.001256/0.9822, allocations: 488.5 kB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.9822, allocations: 8 kB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.9822, allocations: 0 / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.9825, allocations: 186.8 kB / 1.013 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.9825, allocations: 6.969 kB / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.9825, allocations: 0 / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.549e-05/0.9825, allocations: 0 / 1.013 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.208e-05/0.9826, allocations: 33.69 kB / 1.013 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-06/0.9826, allocations: 0 / 1.013 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.9826, allocations: 0.75 kB / 1.013 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9826, allocations: 4 kB / 1.013 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.9828, allocations: 138.2 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.429e-05/0.9829, allocations: 18.48 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.9829, allocations: 12.86 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.9829, allocations: 3.984 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.9829, allocations: 30.56 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.983, allocations: 0 / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.9831, allocations: 41.64 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.9831, allocations: 59.39 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.9832, allocations: 97.06 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.9832, allocations: 25.7 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.9832, allocations: 85.31 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.9833, allocations: 3.906 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.9833, allocations: 0 / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.9834, allocations: 321.6 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.9834, allocations: 0 / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.9834, allocations: 17.75 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.9834, allocations: 11.92 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.9834, allocations: 4 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.459e-05/0.9835, allocations: 48.84 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.9835, allocations: 4 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.9835, allocations: 0 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.9835, allocations: 128 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.9836, allocations: 8 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.9836, allocations: 0 / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.9836, allocations: 1.938 kB / 1.014 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.9837, allocations: 4 kB / 1.014 GB, free: 5.59 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 (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.223e-05/0.9837, allocations: 108.9 kB / 1.014 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.9837, allocations: 3.906 kB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.9838, allocations: 56.34 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.9838, allocations: 0 / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9839, allocations: 4.031 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9839, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.166e-05/0.9839, allocations: 134.2 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.984, allocations: 3.906 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.984, allocations: 0 / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.984, allocations: 7.938 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.984, allocations: 0 / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.984, allocations: 0 / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.984, allocations: 0 / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.838e-05/0.9841, allocations: 87.64 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001861/0.9843, allocations: 465.1 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.9844, allocations: 81.14 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.9844, allocations: 0 / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.9844, allocations: 256 / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.9845, allocations: 4.188 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.9845, allocations: 8 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.857e-05/0.9845, allocations: 86.52 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007095/0.9852, allocations: 7.906 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB 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.0001085/0.9853, allocations: 103.1 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.66e-05/0.9854, allocations: 19.92 kB / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9854, allocations: 0 / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.9854, allocations: 8.125 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.329e-05/0.9855, allocations: 6.344 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.9857, allocations: 74.62 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.986, allocations: 0.6949 MB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.986, allocations: 4 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)