Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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 8.0.0/package.mo): time 2.492/2.492, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 177.3 kB / 360.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.1 MB / 0.6187 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 91.11 kB / 0.7317 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2761/0.2774, allocations: 121.4 MB / 0.8502 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.9235, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/1.154, allocations: 138.9 MB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.155, allocations: 79.95 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02733/1.182, allocations: 5.3 MB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.182, allocations: 12 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/1.182, allocations: 11.89 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/1.183, allocations: 191.7 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.183, allocations: 4 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/1.183, allocations: 1.594 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002027/1.183, allocations: 23.98 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/1.183, allocations: 57.53 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.183, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.183, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.183, allocations: 4 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/1.184, allocations: 279 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.184, allocations: 42.58 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/1.184, allocations: 20.97 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/1.184, allocations: 0 / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/1.184, allocations: 34.5 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.572e-06/1.184, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003353/1.185, allocations: 69.59 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/1.185, allocations: 51.41 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/1.185, allocations: 118.4 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/1.185, allocations: 25.7 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/1.185, allocations: 92.05 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/1.185, allocations: 16.48 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/1.185, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.185, allocations: 318.8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/1.185, allocations: 8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.585e-05/1.185, allocations: 15.98 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.654e-05/1.185, allocations: 16 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.185, allocations: 4 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002412/1.186, allocations: 71.22 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.186, allocations: 4.656 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.904e-06/1.186, allocations: 4 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.186, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.186, allocations: 15.98 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.186, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/1.186, allocations: 15.89 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.186, allocations: 7.938 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001075/1.186, allocations: 111.5 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/1.186, allocations: 7.906 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/1.187, allocations: 77.8 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.187, allocations: 0 / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.187, allocations: 1.438 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.187, allocations: 3.906 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/1.187, allocations: 162.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.187, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/1.187, allocations: 19.98 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.187, allocations: 4 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/1.187, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.187, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.187, allocations: 4.922 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003095/1.188, allocations: 168.7 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004561/1.188, allocations: 0.5357 MB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/1.188, allocations: 88.95 kB / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/1.188, allocations: 3.984 kB / 1.106 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/1.188, allocations: 13.34 kB / 1.106 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/1.188, allocations: 7.984 kB / 1.106 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/1.188, allocations: 0 / 1.106 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.506e-05/1.189, allocations: 97.62 kB / 1.106 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001176/1.19, allocations: 27.98 kB / 1.106 GB, free: 9.398 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002863/1.19, allocations: 107.2 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002024/1.19, allocations: 43.92 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.19, allocations: 0.75 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/1.19, allocations: 20 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/1.191, allocations: 7.938 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/1.191, allocations: 105 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/1.192, allocations: 0.7148 MB / 1.107 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.192, allocations: 0 / 1.107 GB, free: 8.352 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)