Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.442/1.442, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001135/0.001135, allocations: 181.3 kB / 366.3 MB, free: 1.891 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.333/1.333, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0008836/0.0008833, allocations: 89.95 kB / 0.7396 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.353e-05, allocations: 4 kB / 0.859 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6441, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.8187, allocations: 137.5 MB / 1.107 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.8191, allocations: 76.39 kB / 1.107 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002499/0.8216, allocations: 0.6241 MB / 1.107 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8216, allocations: 0 / 1.107 GB, free: 10.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002746/0.8219, allocations: 315.5 kB / 1.108 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.8219, allocations: 8.531 kB / 1.108 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.822, allocations: 5.25 kB / 1.108 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/0.8221, allocations: 166.9 kB / 1.108 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.8221, allocations: 0.5 kB / 1.108 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.8222, allocations: 0.7812 kB / 1.108 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.048e-05/0.8222, allocations: 7.984 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.8223, allocations: 30.45 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8223, allocations: 0 / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.8224, allocations: 1.812 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8224, allocations: 0 / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.8225, allocations: 142.9 kB / 1.108 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.8226, allocations: 31.7 kB / 1.108 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.8226, allocations: 8.922 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.823, allocations: 409.7 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.8231, allocations: 42.55 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.8231, allocations: 0 / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001718/0.8232, allocations: 38.44 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.8233, allocations: 55.41 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.8233, allocations: 85 kB / 1.109 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.8234, allocations: 29.7 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.8234, allocations: 80.14 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.8234, allocations: 11.84 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.8234, allocations: 0 / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.8236, allocations: 318.8 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.8236, allocations: 0.5625 kB / 1.109 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.8237, allocations: 11.92 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.8237, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8237, allocations: 0 / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.05e-05/0.8238, allocations: 49.69 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8238, allocations: 5.562 kB / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8238, allocations: 0.9375 kB / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.8239, allocations: 0 / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.824, allocations: 12 kB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003898/0.8244, allocations: 0.5859 MB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.8244, allocations: 0 / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.8244, allocations: 8.125 kB / 1.11 GB, free: 7.559 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 (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 8.152e-05/0.8245, allocations: 104.9 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.8246, allocations: 3.906 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.8247, allocations: 49.22 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8247, allocations: 0 / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8247, allocations: 0.6562 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8247, allocations: 0 / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.781e-05/0.8248, allocations: 130.2 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.8248, allocations: 4 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.8249, allocations: 11.91 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8249, allocations: 0 / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.8249, allocations: 0 / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003099/0.8252, allocations: 0.5928 MB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8253, allocations: 0 / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001065/0.8254, allocations: 77.16 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.8254, allocations: 77.11 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.8254, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.8254, allocations: 0 / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.8255, allocations: 5.312 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8255, allocations: 7.984 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.478e-05/0.8255, allocations: 75.28 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001815/0.8257, allocations: 4 kB / 1.111 GB, free: 6.312 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.0001707/0.8259, allocations: 111.8 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.8261, allocations: 27.91 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8261, allocations: 0 / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.8262, allocations: 16 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.526e-05/0.8263, allocations: 0 / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.8265, allocations: 52.94 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.8267, allocations: 0.6876 MB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8268, allocations: 0 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.002281/0.829, allocations: 0.5298 MB / 1.112 GB, free: 4.852 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)