Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009297/0.0009297, allocations: 177.3 kB / 361.1 MB, free: 7.125 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.04/1.04, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008296/0.0008296, allocations: 89.39 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.857e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5525, allocations: 137.1 MB / 1.098 GB, free: 2.953 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.5528, allocations: 75.95 kB / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01079/0.5636, allocations: 3.646 MB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5636, allocations: 0 / 1.101 GB, free: 15.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002304/0.5639, allocations: 334.4 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5639, allocations: 15.97 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5639, allocations: 4 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.564, allocations: 160.3 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.564, allocations: 7.891 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.5641, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.765e-05/0.5641, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.643e-05/0.5642, allocations: 32.05 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.5642, allocations: 2.438 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.5642, allocations: 0.5312 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5642, allocations: 0.5625 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.5643, allocations: 123.8 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.5643, allocations: 26.53 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.5644, allocations: 4.859 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.5648, allocations: 427.8 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5648, allocations: 35.16 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.5648, allocations: 0.8125 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.565, allocations: 34.38 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.565, allocations: 51.41 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.462e-05/0.565, allocations: 85.88 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.565, allocations: 25.7 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.5651, allocations: 80.89 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.5651, allocations: 4.875 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-06/0.5651, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.5652, allocations: 315.5 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.5652, allocations: 0.7188 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-06/0.5652, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.5653, allocations: 8.625 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5653, allocations: 4.5 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.034e-05/0.5654, allocations: 30.23 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5654, allocations: 8.703 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5654, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5654, allocations: 0.5 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.5654, allocations: 4 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.5654, allocations: 2.562 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.5655, allocations: 3 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.5655, allocations: 3.938 kB / 1.103 GB, free: 13.23 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 5.746e-05/0.5655, allocations: 105.1 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.5656, allocations: 7.906 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.5657, allocations: 44.62 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5657, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5657, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5657, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.687e-05/0.5658, allocations: 126.2 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5658, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.5658, allocations: 4.031 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5658, allocations: 3.906 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.5658, allocations: 0 / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5658, allocations: 0 / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5658, allocations: 4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.647e-05/0.5659, allocations: 53.12 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.5659, allocations: 77.11 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.5659, allocations: 3.906 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/0.566, allocations: 8.969 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-06/0.566, allocations: 1.125 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.566, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.388e-05/0.566, allocations: 83.27 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001897/0.5662, allocations: 15.94 kB / 1.103 GB, free: 12.61 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.0001552/0.5664, allocations: 119 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.764e-05/0.5664, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5664, allocations: 4.062 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.5664, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.703e-05/0.5665, allocations: 6.75 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001181/0.5667, allocations: 41.75 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.5669, allocations: 0.6802 MB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5669, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.001842/0.5687, allocations: 455.2 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)