Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001291/0.001291, allocations: 189.2 kB / 366.3 MB, free: 1.941 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.485/1.485, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009282/0.0009282, allocations: 82.28 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2878/0.2888, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.9754, allocations: 116.3 MB / 0.9727 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/1.159, allocations: 138.7 MB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.159, allocations: 83.94 kB / 1.108 GB, free: 9.617 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004311/1.164, allocations: 1.368 MB / 1.11 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/1.164, allocations: 8 kB / 1.11 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/1.164, allocations: 7.906 kB / 1.11 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.164, allocations: 170.9 kB / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/1.164, allocations: 4 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/1.164, allocations: 0 / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001627/1.164, allocations: 35.98 kB / 1.11 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.164, allocations: 49.69 kB / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.164, allocations: 3.938 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.165, allocations: 0 / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.165, allocations: 5.969 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/1.165, allocations: 281.3 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/1.165, allocations: 46.58 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/1.165, allocations: 32.89 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.165, allocations: 0 / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/1.165, allocations: 34.66 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/1.165, allocations: 3.938 kB / 1.11 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002135/1.166, allocations: 73.59 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/1.166, allocations: 51.41 kB / 1.11 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/1.166, allocations: 109 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/1.166, allocations: 25.7 kB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/1.166, allocations: 84.14 kB / 1.111 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/1.166, allocations: 23.64 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.166, allocations: 4 kB / 1.111 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.166, allocations: 318.8 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/1.166, allocations: 12 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/1.166, allocations: 12 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/1.166, allocations: 19.98 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.166, allocations: 0 / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001338/1.166, allocations: 69.55 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.166, allocations: 7.938 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.166, allocations: 1.031 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.166, allocations: 4 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.166, allocations: 35.97 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.166, allocations: 4 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/1.167, allocations: 27.97 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/1.167, allocations: 0 / 1.111 GB, free: 6.516 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 8.588e-05/1.167, allocations: 112.9 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/1.167, allocations: 3.906 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/1.167, allocations: 16.36 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.167, allocations: 3.984 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.167, allocations: 0 / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.167, allocations: 0.9375 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/1.167, allocations: 154.2 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.167, allocations: 3.906 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.167, allocations: 43.97 kB / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.167, allocations: 0 / 1.111 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.167, allocations: 3.938 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.167, allocations: 4 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.167, allocations: 6.25 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002118/1.167, allocations: 159.7 kB / 1.112 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000345/1.168, allocations: 0.539 MB / 1.112 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/1.168, allocations: 81.67 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/1.168, allocations: 4 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/1.168, allocations: 27.97 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/1.168, allocations: 11.98 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.168, allocations: 4 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.234e-05/1.168, allocations: 98.19 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009049/1.169, allocations: 15.94 kB / 1.112 GB, free: 5.145 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.0001664/1.169, allocations: 100.1 kB / 1.112 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.169, allocations: 36 kB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.169, allocations: 0 / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/1.17, allocations: 27.94 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/1.17, allocations: 20.03 kB / 1.112 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/1.17, allocations: 99.72 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/1.171, allocations: 0.7036 MB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.171, allocations: 0 / 1.113 GB, free: 4.105 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)