Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.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.1.4-maint.8.1.x/package.mo): time 1.517/1.517, allocations: 289.8 MB / 297.1 MB, free: 9.004 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.001099/0.001099, allocations: 180.6 kB / 366.3 MB, free: 11.33 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.425/1.425, allocations: 205.1 MB / 0.6256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 89.2 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.755e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2331, allocations: 116.3 MB / 0.9726 GB, free: 31.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5754/0.8086, allocations: 138.1 MB / 1.107 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.8089, allocations: 70.47 kB / 1.107 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.002096/0.811, allocations: 474.2 kB / 1.108 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.811, allocations: 1.312 kB / 1.108 GB, free: 16.21 MB / 0.6823 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.000389/0.8114, allocations: 348.5 kB / 1.108 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.8115, allocations: 9.344 kB / 1.108 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.8116, allocations: 5.219 kB / 1.108 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.8117, allocations: 162.8 kB / 1.108 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8117, allocations: 0 / 1.108 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.8117, allocations: 2.141 kB / 1.108 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.751e-05/0.8118, allocations: 11.52 kB / 1.108 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.579e-05/0.8119, allocations: 44.48 kB / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8119, allocations: 0 / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8119, allocations: 0 / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8119, allocations: 2.406 kB / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.8123, allocations: 256.9 kB / 1.109 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.8123, allocations: 30.09 kB / 1.109 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.8124, allocations: 12.45 kB / 1.109 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.8126, allocations: 415.8 kB / 1.109 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.8127, allocations: 30.56 kB / 1.109 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.8127, allocations: 1.406 kB / 1.109 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.8128, allocations: 38.78 kB / 1.109 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.8129, allocations: 51.41 kB / 1.109 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.8129, allocations: 95.95 kB / 1.109 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.8129, allocations: 26.92 kB / 1.109 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.813, allocations: 93.45 kB / 1.11 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.813, allocations: 10.12 kB / 1.11 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.813, allocations: 0 / 1.11 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.813, allocations: 317.3 kB / 1.11 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.8131, allocations: 5.656 kB / 1.11 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.8131, allocations: 3.969 kB / 1.11 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.8131, allocations: 8 kB / 1.11 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.8131, allocations: 1.281 kB / 1.11 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.022e-05/0.8132, allocations: 41.8 kB / 1.11 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.8132, allocations: 7.875 kB / 1.11 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8132, allocations: 5.188 kB / 1.11 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.8133, allocations: 0 / 1.11 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.8134, allocations: 13.58 kB / 1.11 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.8134, allocations: 3.938 kB / 1.11 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.8134, allocations: 18.48 kB / 1.11 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.8135, allocations: 1.281 kB / 1.11 GB, free: 14.15 MB / 0.6823 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.8135, allocations: 101 kB / 1.11 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.8135, allocations: 2.688 kB / 1.11 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.8137, allocations: 55.14 kB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8137, allocations: 3.906 kB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8137, allocations: 0 / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.8137, allocations: 1.312 kB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.8138, allocations: 142.5 kB / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.8138, allocations: 0 / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.8139, allocations: 11.78 kB / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8139, allocations: 0 / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.8139, allocations: 2.516 kB / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.8139, allocations: 0 / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8139, allocations: 0 / 1.11 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001048/0.814, allocations: 146.6 kB / 1.11 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.8141, allocations: 82.33 kB / 1.11 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.8141, allocations: 5.312 kB / 1.11 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.8142, allocations: 13.11 kB / 1.11 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.8142, allocations: 6.812 kB / 1.11 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.8142, allocations: 4.031 kB / 1.11 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.38e-05/0.8143, allocations: 81.94 kB / 1.111 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002074/0.8145, allocations: 6.406 kB / 1.111 GB, free: 13.51 MB / 0.6823 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.8146, allocations: 97.22 kB / 1.111 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.8147, allocations: 17.28 kB / 1.111 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.8147, allocations: 0 / 1.111 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.8147, allocations: 5.312 kB / 1.111 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.8149, allocations: 5.125 kB / 1.111 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.8151, allocations: 70.66 kB / 1.111 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.8154, allocations: 0.6941 MB / 1.111 GB, free: 28.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.8154, allocations: 0 / 1.111 GB, free: 28.64 MB / 0.698 GB Notification: Performance of Templates: time 0.002449/0.8179, allocations: 0.5575 MB / 1.112 GB, free: 28.6 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)