Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [: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.1-maint.8.0.x/package.mo): time 1.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009926/0.0009926, allocations: 181.3 kB / 361.1 MB, free: 7.125 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.043/1.043, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007601/0.0007602, allocations: 89.39 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.873e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4055, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.534, allocations: 136.5 MB / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.5342, allocations: 72.52 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00211/0.5363, allocations: 0.6326 MB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.5363, allocations: 0 / 1.098 GB, free: 2.883 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002219/0.5366, allocations: 311.8 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5366, allocations: 13.89 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.5367, allocations: 0.9688 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.5367, allocations: 163.6 kB / 1.098 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.5368, allocations: 0 / 1.098 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.5368, allocations: 6.031 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.415e-05/0.5368, allocations: 8 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.639e-05/0.5369, allocations: 34.2 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5369, allocations: 0 / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.5369, allocations: 0 / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5369, allocations: 0.5312 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.537, allocations: 142.2 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.077e-05/0.5371, allocations: 34.55 kB / 1.098 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.5372, allocations: 8.859 kB / 1.098 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.5375, allocations: 405.7 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5375, allocations: 36.78 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5375, allocations: 0 / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001391/0.5377, allocations: 37.7 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5377, allocations: 56.02 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.521e-05/0.5377, allocations: 85.72 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.5378, allocations: 29.64 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.5378, allocations: 84.02 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.5378, allocations: 9.219 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.5378, allocations: 3.938 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.5379, allocations: 314.8 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.538, allocations: 4.5 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.538, allocations: 4.719 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.538, allocations: 9.75 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.538, allocations: 0 / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.01e-05/0.5381, allocations: 34.41 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5381, allocations: 8 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5381, allocations: 2.156 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.5381, allocations: 0.5938 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.5383, allocations: 15.98 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/0.5386, allocations: 0.5916 MB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.5386, allocations: 0.5312 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.5387, allocations: 0.7812 kB / 1.1 GB, free: 184 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.5387, allocations: 105.6 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.5387, allocations: 10.16 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.5389, allocations: 46.25 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5389, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.5389, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5389, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.753e-05/0.539, allocations: 126.8 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.539, allocations: 1.203 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.5391, allocations: 22.7 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5391, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5391, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002749/0.5394, allocations: 0.5826 MB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5394, allocations: 1.406 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.81e-05/0.5395, allocations: 69.06 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.5395, allocations: 82.39 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.5395, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.5395, allocations: 4.594 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.5396, allocations: 4.594 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5396, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.142e-05/0.5396, allocations: 85.09 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001662/0.5398, allocations: 4 kB / 1.101 GB, free: 14.95 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001328/0.5399, allocations: 111 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.5401, allocations: 24.64 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5401, allocations: 0 / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.5402, allocations: 15.98 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.044e-05/0.5403, allocations: 10.58 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.5404, allocations: 52.81 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.5407, allocations: 0.6837 MB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.5407, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of Templates: time 0.00199/0.5427, allocations: 0.5307 MB / 1.103 GB, free: 13.5 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)