Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.339/1.339, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009472/0.0009472, allocations: 185.2 kB / 361.1 MB, free: 7.09 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.028/1.028, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007483/0.0007483, allocations: 95.06 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.857e-06, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4723, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.6185, allocations: 137.8 MB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.6188, allocations: 72.47 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01214/0.6309, allocations: 3.97 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6309, allocations: 0.625 kB / 1.102 GB, free: 14.27 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.0003921/0.6313, allocations: 373.4 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6314, allocations: 8.031 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.6314, allocations: 4.625 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.6316, allocations: 167 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.6316, allocations: 0.5312 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6316, allocations: 4.656 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.433e-05/0.6317, allocations: 12 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.6318, allocations: 38.62 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6318, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6318, allocations: 0.5312 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6318, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.6322, allocations: 252.4 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.6323, allocations: 30.52 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.6323, allocations: 12.92 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.6329, allocations: 461.5 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.6329, allocations: 34.56 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.6329, allocations: 0 / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.6331, allocations: 37.7 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.6332, allocations: 51.41 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.6332, allocations: 97 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.6332, allocations: 25.7 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.6333, allocations: 92.06 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.6333, allocations: 4.75 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.6333, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.6334, allocations: 318.8 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.6334, allocations: 3.938 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.6334, allocations: 8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.6335, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6335, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.534e-05/0.6336, allocations: 49.75 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6336, allocations: 5.969 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.6336, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6336, allocations: 1.188 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.6337, allocations: 15.98 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6337, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.6338, allocations: 15.88 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.6338, allocations: 4 kB / 1.104 GB, free: 11.9 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 5.336e-05/0.6339, allocations: 101 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.6339, allocations: 7.984 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.634, allocations: 57.16 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.634, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.634, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.634, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.6342, allocations: 144.1 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6342, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.6342, allocations: 11.98 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6343, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.6343, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6343, allocations: 3.906 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6343, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001276/0.6344, allocations: 139.5 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.6345, allocations: 91.48 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.6345, allocations: 3.938 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.6346, allocations: 7.984 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.6346, allocations: 8 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.6346, allocations: 4.031 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.505e-05/0.6347, allocations: 80.91 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002131/0.6349, allocations: 16 kB / 1.105 GB, free: 11.16 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.0001634/0.635, allocations: 115 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.28e-05/0.6351, allocations: 16 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6351, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.6352, allocations: 8 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.6353, allocations: 10.16 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.6355, allocations: 68.67 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.6358, allocations: 0.6927 MB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6358, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.002402/0.6382, allocations: 0.6576 MB / 1.106 GB, free: 9.574 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)