Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008911/0.0008911, allocations: 180.2 kB / 361.1 MB, free: 7.109 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.014/1.014, allocations: 205.2 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.0008179/0.0008178, allocations: 86.23 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.768e-06/9.768e-06, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4414, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.5789, allocations: 137.3 MB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5791, allocations: 80.69 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01463/0.5938, allocations: 4.695 MB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5938, allocations: 0 / 1.102 GB, free: 13.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002971/0.5941, allocations: 359.5 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5942, allocations: 8.531 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.5942, allocations: 6.188 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.5943, allocations: 171 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.5944, allocations: 0.875 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.5944, allocations: 7.906 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.9e-05/0.5945, allocations: 16.5 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.707e-05/0.5945, allocations: 42.31 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5946, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5946, allocations: 0.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5946, allocations: 4.656 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.5947, allocations: 142.6 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.5948, allocations: 38.33 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.5949, allocations: 25.86 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.5955, allocations: 465.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5955, allocations: 36.44 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.5955, allocations: 1.312 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009458/0.5965, allocations: 0.5188 MB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5965, allocations: 59.33 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.5966, allocations: 96.98 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5966, allocations: 25.7 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.5966, allocations: 80.14 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.5967, allocations: 39.45 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.5967, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.5968, allocations: 314.8 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.5968, allocations: 16 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.5969, allocations: 26.84 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.5969, allocations: 23.98 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5969, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001704/0.5971, allocations: 89.59 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5971, allocations: 7.984 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5971, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5972, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5973, allocations: 23.94 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5973, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.5973, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5973, allocations: 11.98 kB / 1.105 GB, free: 11.03 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 (13): * Single equations (assignments): 13 * 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.998e-05/0.5974, allocations: 109.3 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.5974, allocations: 4 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.5976, allocations: 97.52 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5977, allocations: 4 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5977, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5977, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.598, allocations: 329.7 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.598, allocations: 0 / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5982, allocations: 23.89 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5982, allocations: 1.562 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5982, allocations: 6.188 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.5982, allocations: 6.188 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5982, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002486/0.5985, allocations: 203.4 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.5985, allocations: 89.06 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5985, allocations: 4 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.5986, allocations: 4 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.5987, allocations: 3.984 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5987, allocations: 8.109 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.588e-05/0.5987, allocations: 83.22 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002938/0.599, allocations: 47.92 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002357/0.5993, allocations: 162.8 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.5994, allocations: 52 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5994, allocations: 0 / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.5994, allocations: 35.94 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.5996, allocations: 6.219 kB / 1.106 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.5999, allocations: 113.2 kB / 1.106 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.6001, allocations: 0.7075 MB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.6001, allocations: 0 / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of Templates: time 0.003371/0.6035, allocations: 1.478 MB / 1.108 GB, free: 7.375 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)