Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001146/0.001146, allocations: 181.3 kB / 366.3 MB, free: 1.945 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.339/1.339, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.000892/0.0008924, allocations: 92.94 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6646, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.8371, allocations: 138.8 MB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.8374, allocations: 75.89 kB / 1.108 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01282/0.8503, allocations: 3.979 MB / 1.112 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8503, allocations: 0 / 1.112 GB, free: 5.707 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.0005001/0.8508, allocations: 374.2 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8509, allocations: 12.03 kB / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.8509, allocations: 3.906 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.8511, allocations: 167.1 kB / 1.113 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.8511, allocations: 0 / 1.113 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.8511, allocations: 7.906 kB / 1.113 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.898e-05/0.8512, allocations: 12 kB / 1.113 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.8513, allocations: 29.7 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.8513, allocations: 0 / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.8513, allocations: 0 / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8514, allocations: 0 / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.8518, allocations: 265.3 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.8518, allocations: 22.58 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.8519, allocations: 9.672 kB / 1.113 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.8525, allocations: 465.5 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.8525, allocations: 30.56 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8526, allocations: 0 / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.8527, allocations: 45.69 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8528, allocations: 55.34 kB / 1.113 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.8529, allocations: 97 kB / 1.114 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.8529, allocations: 25.7 kB / 1.114 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.8529, allocations: 96.73 kB / 1.114 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.853, allocations: 3.984 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.853, allocations: 0 / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8531, allocations: 314.8 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.8531, allocations: 8 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.8531, allocations: 4 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.8531, allocations: 8 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8532, allocations: 0.8438 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.436e-05/0.8533, allocations: 45.75 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.8533, allocations: 4 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8533, allocations: 0 / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.8533, allocations: 0 / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.8534, allocations: 12 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8534, allocations: 3.984 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.8535, allocations: 19.88 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.8535, allocations: 0 / 1.114 GB, free: 3.32 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 7.827e-05/0.8536, allocations: 110.6 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.8536, allocations: 0 / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.8538, allocations: 53.22 kB / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8538, allocations: 0 / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.8538, allocations: 0 / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8538, allocations: 0 / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.8539, allocations: 142.2 kB / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8539, allocations: 0 / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.854, allocations: 15.98 kB / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.854, allocations: 0 / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.854, allocations: 0 / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.854, allocations: 3.906 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.854, allocations: 0 / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001811/0.8542, allocations: 147.5 kB / 1.115 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.8543, allocations: 84.95 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8543, allocations: 4 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.8544, allocations: 4 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.8544, allocations: 7.984 kB / 1.115 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8544, allocations: 8.672 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.967e-05/0.8545, allocations: 79.53 kB / 1.115 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002331/0.8547, allocations: 16 kB / 1.115 GB, free: 2.566 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.000156/0.8549, allocations: 115.2 kB / 1.115 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.855, allocations: 12 kB / 1.115 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.855, allocations: 4 kB / 1.115 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.855, allocations: 7.938 kB / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.8552, allocations: 12.72 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.8554, allocations: 59.92 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.8557, allocations: 0.6919 MB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8557, allocations: 0 / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.002765/0.8585, allocations: 0.6709 MB / 1.116 GB, free: 0.9727 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)