Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.409/2.409, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001596, allocations: 173.3 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.1 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001254, allocations: 92.84 kB / 0.7318 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.077e-05, allocations: 4 kB / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5711, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.7845, allocations: 137 MB / 1.097 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.7849, allocations: 76.33 kB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002967/0.7878, allocations: 476.7 kB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7879, allocations: 0.6562 kB / 1.097 GB, free: 3.242 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.0004546/0.7884, allocations: 335.9 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7884, allocations: 12.03 kB / 1.097 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.7885, allocations: 7.844 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.7886, allocations: 167.9 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.7887, allocations: 0.5625 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.7887, allocations: 4.5 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.868e-05/0.7888, allocations: 12 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.7889, allocations: 34.45 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7889, allocations: 0.7188 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7889, allocations: 0.5156 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7889, allocations: 0.5 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.7895, allocations: 259.1 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.7896, allocations: 28.48 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.7897, allocations: 13.77 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.7902, allocations: 418.6 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.7902, allocations: 30.56 kB / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.7902, allocations: 0 / 1.098 GB, free: 1.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.7905, allocations: 42.72 kB / 1.098 GB, free: 1.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.7905, allocations: 51.41 kB / 1.098 GB, free: 1.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.7906, allocations: 98.19 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.7907, allocations: 25.7 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.7907, allocations: 88.08 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.7908, allocations: 7.922 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.7908, allocations: 7.938 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.791, allocations: 318.8 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.791, allocations: 4 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.791, allocations: 4 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.7911, allocations: 4 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7911, allocations: 3.75 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001489/0.7913, allocations: 45.77 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.7913, allocations: 11.92 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7913, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.7913, allocations: 0 / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.7915, allocations: 12 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7915, allocations: 0 / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.7916, allocations: 19.92 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.7916, allocations: 0 / 1.099 GB, free: 0.9492 MB / 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 (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 7.902e-05/0.7917, allocations: 104.8 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.7918, allocations: 4.703 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.792, allocations: 58.56 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.792, allocations: 0 / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.792, allocations: 1.438 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.792, allocations: 4 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.7922, allocations: 142.2 kB / 1.099 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7922, allocations: 0 / 1.099 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.7923, allocations: 11.98 kB / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7923, allocations: 0.7969 kB / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.7924, allocations: 0 / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.7924, allocations: 7.906 kB / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7924, allocations: 0 / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001883/0.7926, allocations: 141.1 kB / 1.099 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.7927, allocations: 85 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.7927, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.7928, allocations: 8 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.7929, allocations: 3.984 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.7929, allocations: 4.031 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.553e-05/0.7929, allocations: 83.28 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003209/0.7933, allocations: 8 kB / 1.1 GB, free: 220 kB / 0.698 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.0001718/0.7935, allocations: 102.4 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.7936, allocations: 12 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7936, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.7936, allocations: 15.98 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7939, allocations: 8.969 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.7942, allocations: 64.67 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.7945, allocations: 0.6918 MB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.7945, allocations: 0.6562 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.003308/0.7978, allocations: 0.5567 MB / 1.101 GB, free: 14.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)