Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001254/0.001254, allocations: 181.3 kB / 366.3 MB, free: 1.953 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.75/1.75, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.001009/0.001009, allocations: 92.98 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.357/0.358, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9027/1.261, allocations: 116.3 MB / 0.9727 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/1.461, allocations: 140.6 MB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.461, allocations: 83.88 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0234/1.485, allocations: 7.803 MB / 1.118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.485, allocations: 11.94 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/1.485, allocations: 35.61 kB / 1.118 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/1.486, allocations: 286.2 kB / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/1.486, allocations: 8 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/1.486, allocations: 16 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002274/1.486, allocations: 88.55 kB / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/1.486, allocations: 161.2 kB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.486, allocations: 0 / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/1.486, allocations: 3.906 kB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/1.486, allocations: 4 kB / 1.118 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/1.487, allocations: 0.9193 MB / 1.119 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/1.488, allocations: 185.3 kB / 1.119 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.488, allocations: 54.5 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/1.488, allocations: 0 / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.488, allocations: 42.55 kB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/1.488, allocations: 0.75 kB / 1.119 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005054/1.489, allocations: 136.8 kB / 1.12 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.489, allocations: 93.08 kB / 1.12 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/1.489, allocations: 219.3 kB / 1.12 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.489, allocations: 25.7 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/1.489, allocations: 124.3 kB / 1.12 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/1.489, allocations: 59.19 kB / 1.12 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/1.489, allocations: 0 / 1.12 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.489, allocations: 343.7 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/1.49, allocations: 36 kB / 1.12 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/1.49, allocations: 91.03 kB / 1.12 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.49, allocations: 51.91 kB / 1.121 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.49, allocations: 0.5625 kB / 1.121 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003886/1.49, allocations: 181.9 kB / 1.121 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.49, allocations: 4 kB / 1.121 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.49, allocations: 0 / 1.121 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.49, allocations: 4 kB / 1.121 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/1.491, allocations: 76.05 kB / 1.121 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.491, allocations: 4 kB / 1.121 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/1.491, allocations: 57.11 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/1.491, allocations: 8 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.333e-05/1.491, allocations: 116.9 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.491, allocations: 23.72 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/1.492, allocations: 182.2 kB / 1.121 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.492, allocations: 0 / 1.121 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.492, allocations: 8 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.492, allocations: 0 / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/1.492, allocations: 257.9 kB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.492, allocations: 0 / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/1.492, allocations: 75.89 kB / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.492, allocations: 0 / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/1.492, allocations: 4 kB / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.492, allocations: 0 / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.492, allocations: 0 / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004768/1.493, allocations: 357.6 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005843/1.494, allocations: 0.7115 MB / 1.123 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/1.494, allocations: 112.7 kB / 1.123 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/1.494, allocations: 0 / 1.123 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.494, allocations: 39.97 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/1.494, allocations: 15.97 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.494, allocations: 8 kB / 1.123 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001465/1.494, allocations: 171.1 kB / 1.123 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009677/1.495, allocations: 56.09 kB / 1.123 GB, free: 10.23 MB / 0.7292 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 (20): * Single equations (assignments): 20 * 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.0002381/1.495, allocations: 123.2 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002784/1.496, allocations: 129.9 kB / 1.123 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.496, allocations: 0 / 1.123 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.496, allocations: 67.94 kB / 1.123 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/1.496, allocations: 60.44 kB / 1.123 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/1.497, allocations: 297.6 kB / 1.124 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/1.498, allocations: 0.7863 MB / 1.124 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/1.498, allocations: 0 / 1.124 GB, free: 8.715 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)