Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.279/2.279, 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.001645/0.001644, allocations: 177.2 kB / 360.4 MB, free: 7.512 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.715/1.715, allocations: 205.2 MB / 0.6188 GB, free: 12.46 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.001168/0.001167, allocations: 95.8 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.603e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6264, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.8538, allocations: 136.9 MB / 1.096 GB, free: 3.875 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.8541, allocations: 80.59 kB / 1.097 GB, free: 3.797 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01992/0.8741, allocations: 3.654 MB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8741, allocations: 0.6562 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003885/0.8745, allocations: 338.9 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8746, allocations: 12.75 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.8746, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.8748, allocations: 163.9 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8748, allocations: 3.906 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.8748, allocations: 0.5312 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.878e-05/0.8749, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.221e-05/0.8749, allocations: 34.34 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.875, allocations: 0.5938 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.875, allocations: 0.625 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.875, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.8751, allocations: 122.8 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.8752, allocations: 27.53 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.8752, allocations: 5.547 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.8759, allocations: 430.2 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.8759, allocations: 34.47 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.876, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001916/0.8762, allocations: 29.7 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8762, allocations: 51.41 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.8763, allocations: 85 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.8763, allocations: 29.73 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.8763, allocations: 80.14 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.8764, allocations: 7.984 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-06/0.8764, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8765, allocations: 314.8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.8765, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.8766, allocations: 3.938 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.8766, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8766, allocations: 7.906 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00011/0.8767, allocations: 33.77 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8768, allocations: 4 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8768, allocations: 1.25 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8768, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.8769, allocations: 4 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.8769, allocations: 3.984 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.8769, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.8769, allocations: 3.938 kB / 1.102 GB, free: 14.14 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 (1): * Single equations (assignments): 1 * 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.442e-05/0.877, allocations: 106.5 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.8771, allocations: 11.94 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.8772, allocations: 36.64 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8772, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8772, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8772, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.8774, allocations: 136.4 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8774, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.8774, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.8775, allocations: 7.938 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.8775, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8775, allocations: 0 / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.8775, allocations: 4 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/0.8776, allocations: 53.12 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.8777, allocations: 77.11 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.8777, allocations: 3.906 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.8777, allocations: 0 / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.8778, allocations: 8.031 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.8778, allocations: 5.438 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.224e-05/0.8778, allocations: 75.28 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002841/0.8781, allocations: 19.94 kB / 1.102 GB, free: 13.53 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 (1): * Single equations (assignments): 1 * 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.0002721/0.8784, allocations: 119.2 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.8785, allocations: 4 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8785, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.8785, allocations: 4.062 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.8786, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.8788, allocations: 40.08 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.8791, allocations: 0.6879 MB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.8791, allocations: 0 / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.002974/0.8821, allocations: 448.8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)