Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 184.3 kB / 316 MB, free: 7.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 0.5667 GB, free: 23.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 79.95 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2067/0.2075, allocations: 112.5 MB / 0.7808 GB, free: 292 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.5921, allocations: 106.3 MB / 0.8847 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.7267, allocations: 131.4 MB / 1.013 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.727, allocations: 87.94 kB / 1.013 GB, free: 8.574 MB / 0.6667 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.003787/0.7308, allocations: 1.36 MB / 1.014 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7309, allocations: 12 kB / 1.014 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.7309, allocations: 11.91 kB / 1.014 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.731, allocations: 174.9 kB / 1.015 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.731, allocations: 4 kB / 1.015 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.7311, allocations: 3.938 kB / 1.015 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.7312, allocations: 32 kB / 1.015 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.7313, allocations: 53.59 kB / 1.015 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7313, allocations: 0 / 1.015 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7313, allocations: 3.938 kB / 1.015 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7313, allocations: 0 / 1.015 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.7317, allocations: 289.2 kB / 1.015 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.7318, allocations: 50.58 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.7319, allocations: 24.98 kB / 1.015 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.7319, allocations: 0 / 1.015 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.732, allocations: 34.55 kB / 1.015 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.732, allocations: 4 kB / 1.015 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.0001814/0.7322, allocations: 69.64 kB / 1.015 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.7322, allocations: 51.41 kB / 1.015 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.7323, allocations: 105 kB / 1.015 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7323, allocations: 25.7 kB / 1.015 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.7323, allocations: 88.14 kB / 1.015 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.7324, allocations: 23.64 kB / 1.015 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.7324, allocations: 4 kB / 1.015 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.7325, allocations: 314.8 kB / 1.016 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.7325, allocations: 16 kB / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.7326, allocations: 12 kB / 1.016 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.7326, allocations: 19.98 kB / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7326, allocations: 0 / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.7327, allocations: 61.61 kB / 1.016 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7327, allocations: 4 kB / 1.016 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7327, allocations: 3.984 kB / 1.016 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7328, allocations: 4 kB / 1.016 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.733, allocations: 47.81 kB / 1.016 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.733, allocations: 0 / 1.016 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.7331, allocations: 27.98 kB / 1.016 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.7331, allocations: 4.25 kB / 1.016 GB, free: 5.457 MB / 0.6667 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 6.613e-05/0.7332, allocations: 111.1 kB / 1.016 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.7332, allocations: 7.906 kB / 1.016 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.7333, allocations: 8.375 kB / 1.016 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7333, allocations: 0 / 1.016 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7333, allocations: 4 kB / 1.016 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7333, allocations: 7.938 kB / 1.016 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.7335, allocations: 158 kB / 1.016 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7335, allocations: 0 / 1.016 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.7336, allocations: 39.97 kB / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.7336, allocations: 3.984 kB / 1.016 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.7337, allocations: 0 / 1.016 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7337, allocations: 4 kB / 1.016 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7337, allocations: 0 / 1.016 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001591/0.7338, allocations: 175.3 kB / 1.016 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002984/0.7341, allocations: 0.5311 MB / 1.017 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.7342, allocations: 81.02 kB / 1.017 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.7342, allocations: 4 kB / 1.017 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.7344, allocations: 27.97 kB / 1.017 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.7345, allocations: 7.984 kB / 1.017 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.7345, allocations: 0 / 1.017 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.549e-05/0.7345, allocations: 95.28 kB / 1.017 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007554/0.7353, allocations: 15.94 kB / 1.017 GB, free: 4.094 MB / 0.6667 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.0001287/0.7354, allocations: 103.2 kB / 1.017 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.7356, allocations: 39.98 kB / 1.017 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7356, allocations: 0 / 1.017 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.7356, allocations: 24 kB / 1.017 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.7358, allocations: 14.5 kB / 1.017 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.7362, allocations: 103.6 kB / 1.017 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.7365, allocations: 0.7036 MB / 1.018 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.7366, allocations: 0 / 1.018 GB, free: 3.051 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)