Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 7.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 173.3 kB / 316 MB, free: 7.961 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.1 MB / 0.5667 GB, free: 3.371 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008053/0.0008053, allocations: 89.55 kB / 0.671 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3256/0.3264, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.4948, allocations: 106.3 MB / 0.8847 GB, free: 304 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.9629, allocations: 131 MB / 1.013 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.9631, allocations: 63.97 kB / 1.013 GB, free: 13.75 MB / 0.6387 GB 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.0007427/0.9639, allocations: 408.5 kB / 1.013 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9639, allocations: 8 kB / 1.013 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.9639, allocations: 3.906 kB / 1.013 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.964, allocations: 159.1 kB / 1.013 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.964, allocations: 0 / 1.013 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.964, allocations: 4 kB / 1.013 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.175e-05/0.9641, allocations: 0 / 1.013 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.417e-05/0.9642, allocations: 51.34 kB / 1.013 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.9642, allocations: 0 / 1.013 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.9642, allocations: 0 / 1.013 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9642, allocations: 7.891 kB / 1.013 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.9643, allocations: 135 kB / 1.013 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.9644, allocations: 29.16 kB / 1.013 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.9644, allocations: 21.78 kB / 1.013 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.9644, allocations: 7.922 kB / 1.013 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.9644, allocations: 30.56 kB / 1.013 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9644, allocations: 4 kB / 1.013 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001072/0.9646, allocations: 29.7 kB / 1.013 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.9646, allocations: 81.17 kB / 1.014 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.795e-05/0.9646, allocations: 85 kB / 1.014 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.9646, allocations: 29.64 kB / 1.014 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.9647, allocations: 84.14 kB / 1.014 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.9647, allocations: 14.33 kB / 1.014 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.9647, allocations: 0 / 1.014 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.9648, allocations: 318.7 kB / 1.014 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.9648, allocations: 0 / 1.014 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.9648, allocations: 17.72 kB / 1.014 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/0.9649, allocations: 4 kB / 1.014 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9649, allocations: 0 / 1.014 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.68e-05/0.9649, allocations: 36.83 kB / 1.014 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9649, allocations: 12.67 kB / 1.014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.965, allocations: 0 / 1.014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.965, allocations: 0 / 1.014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.965, allocations: 4 kB / 1.014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.965, allocations: 128 / 1.014 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.9651, allocations: 4 kB / 1.014 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.9651, allocations: 4.5 kB / 1.014 GB, free: 12 MB / 0.6387 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.781e-05/0.9652, allocations: 104.9 kB / 1.014 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.9652, allocations: 3.938 kB / 1.014 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.9653, allocations: 51.89 kB / 1.014 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.9653, allocations: 4.062 kB / 1.014 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.9654, allocations: 4 kB / 1.014 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9654, allocations: 1.812 kB / 1.014 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.677e-05/0.9655, allocations: 130.1 kB / 1.014 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9655, allocations: 0 / 1.014 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.9655, allocations: 4 kB / 1.014 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.9656, allocations: 0 / 1.014 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.9656, allocations: 7.938 kB / 1.014 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.9656, allocations: 0 / 1.014 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9656, allocations: 0 / 1.014 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001108/0.9657, allocations: 90.05 kB / 1.015 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002316/0.966, allocations: 459.5 kB / 1.015 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.966, allocations: 85.02 kB / 1.015 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.966, allocations: 0 / 1.015 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.966, allocations: 1 kB / 1.015 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.9661, allocations: 0 / 1.015 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9661, allocations: 4 kB / 1.015 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.187e-05/0.9661, allocations: 75.28 kB / 1.015 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008343/0.9669, allocations: 0 / 1.015 GB, free: 10.89 MB / 0.6387 GB 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.0001375/0.9671, allocations: 103.3 kB / 1.015 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.288e-05/0.9672, allocations: 15.38 kB / 1.015 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9672, allocations: 0 / 1.015 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.9672, allocations: 0 / 1.015 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.9674, allocations: 7.906 kB / 1.015 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.9676, allocations: 56.72 kB / 1.015 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.9678, allocations: 0.6804 MB / 1.016 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.9678, allocations: 4 kB / 1.016 GB, free: 9.969 MB / 0.6387 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)