Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") [: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.163/2.163, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001586/0.001586, allocations: 177.3 kB / 360.4 MB, free: 7.5 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.809/1.809, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001263/0.001262, allocations: 94.69 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.638e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6098, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.8593, allocations: 137.6 MB / 1.097 GB, free: 3.133 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.8597, allocations: 73.72 kB / 1.097 GB, free: 3.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02684/0.8866, allocations: 3.974 MB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8867, allocations: 0 / 1.101 GB, free: 15.17 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.0005506/0.8872, allocations: 374.3 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.8873, allocations: 12.03 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.8874, allocations: 3.906 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.8875, allocations: 167 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.8876, allocations: 1.688 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.8876, allocations: 3.906 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.252e-05/0.8877, allocations: 12 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.8878, allocations: 37.69 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8878, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8878, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.8878, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.8883, allocations: 249.4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.8884, allocations: 30.52 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.8885, allocations: 16.92 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/0.8895, allocations: 457.5 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.8895, allocations: 34.56 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.8895, allocations: 0 / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.8898, allocations: 37.7 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.8898, allocations: 55.44 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.8899, allocations: 97 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.89, allocations: 25.7 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.89, allocations: 88.03 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.8901, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.8901, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8902, allocations: 326.7 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.8903, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.8903, allocations: 12 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.8903, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8904, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001494/0.8905, allocations: 45.69 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8905, allocations: 4 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8906, allocations: 1.5 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8906, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.8907, allocations: 20.08 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8908, allocations: 7.609 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.8909, allocations: 7.906 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.8909, allocations: 4 kB / 1.103 GB, free: 12.79 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 (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 8.257e-05/0.891, allocations: 106.5 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.891, allocations: 3.984 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.8912, allocations: 65.16 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8912, allocations: 0 / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8913, allocations: 0 / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8913, allocations: 0 / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.8915, allocations: 138.2 kB / 1.103 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8915, allocations: 1.125 kB / 1.103 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.8916, allocations: 11.98 kB / 1.103 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8916, allocations: 3.984 kB / 1.103 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8916, allocations: 4.031 kB / 1.103 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8916, allocations: 3.906 kB / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.8917, allocations: 0 / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002382/0.8919, allocations: 139.5 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.892, allocations: 88.95 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.892, allocations: 1.938 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.8922, allocations: 16.02 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.8922, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.8922, allocations: 1.125 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-05/0.8923, allocations: 83.28 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003393/0.8926, allocations: 16 kB / 1.104 GB, free: 12.04 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 (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.0002095/0.8928, allocations: 107.2 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.893, allocations: 16 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.893, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.893, allocations: 8 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.8933, allocations: 7.844 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.8935, allocations: 68.66 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.8939, allocations: 0.6924 MB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8939, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.003518/0.8974, allocations: 0.652 MB / 1.105 GB, free: 10.46 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)