Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.416/2.416, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001586/0.001585, allocations: 191.7 kB / 360.3 MB, free: 7.512 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.964/1.964, allocations: 205.2 MB / 0.6187 GB, free: 12.46 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.001248/0.001247, allocations: 88.33 kB / 0.7317 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2886/0.2899, allocations: 121.4 MB / 0.8502 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.9419, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/1.175, allocations: 137.6 MB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/1.175, allocations: 89.19 kB / 1.097 GB, free: 3.117 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.006431/1.182, allocations: 1.363 MB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/1.182, allocations: 8 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/1.182, allocations: 7.906 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/1.182, allocations: 176.4 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.182, allocations: 0 / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/1.182, allocations: 4 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/1.182, allocations: 32 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.182, allocations: 49.69 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.183, allocations: 4.562 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.183, allocations: 3.938 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.183, allocations: 5.312 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/1.183, allocations: 277.3 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/1.183, allocations: 51.36 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.184, allocations: 34.86 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/1.184, allocations: 4 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.184, allocations: 30.56 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.366e-06/1.184, allocations: 96 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002734/1.184, allocations: 69.55 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/1.184, allocations: 56.05 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.184, allocations: 107.2 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.184, allocations: 25.7 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/1.184, allocations: 88.12 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/1.184, allocations: 23.66 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/1.184, allocations: 0 / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.184, allocations: 318.8 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/1.184, allocations: 16.75 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/1.184, allocations: 12 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/1.185, allocations: 17.44 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.185, allocations: 3.938 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001887/1.185, allocations: 69.53 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.185, allocations: 10.5 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.185, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.185, allocations: 0.5625 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/1.185, allocations: 45.19 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/1.185, allocations: 0 / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/1.185, allocations: 31.97 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/1.185, allocations: 1.562 kB / 1.1 GB, free: 64 kB / 0.698 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.0001103/1.186, allocations: 112.7 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/1.186, allocations: 3.906 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/1.186, allocations: 12.38 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.186, allocations: 0.7031 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.186, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.186, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/1.186, allocations: 158.2 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.186, allocations: 7.906 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/1.186, allocations: 35.97 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.186, allocations: 4.656 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.186, allocations: 0 / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.186, allocations: 3.938 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.186, allocations: 1.312 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002412/1.187, allocations: 167.5 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003545/1.187, allocations: 0.5311 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/1.187, allocations: 87.86 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/1.187, allocations: 3.75 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/1.187, allocations: 31.97 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.188, allocations: 7.984 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/1.188, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.349e-05/1.188, allocations: 99.12 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001105/1.189, allocations: 15.94 kB / 1.101 GB, free: 14.7 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.0001723/1.189, allocations: 99.23 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001982/1.189, allocations: 36 kB / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.189, allocations: 11.94 kB / 1.101 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/1.189, allocations: 23.94 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.19, allocations: 6.594 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/1.19, allocations: 104.5 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/1.191, allocations: 0.6997 MB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/1.191, allocations: 8 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)