Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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.318/1.318, 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.0009141/0.0009142, allocations: 185.3 kB / 361.1 MB, free: 7.098 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.029/1.029, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008019/0.0008019, allocations: 97.03 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.428e-06, allocations: 0 / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.444, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5822, allocations: 137.2 MB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.5824, allocations: 76.61 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01233/0.5947, allocations: 4.169 MB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.5948, allocations: 0.9375 kB / 1.102 GB, free: 14.64 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000265/0.595, allocations: 342.4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5951, allocations: 9.062 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.5951, allocations: 0.5 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5953, allocations: 163.8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5953, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.5953, allocations: 4.734 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.677e-05/0.5954, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.742e-05/0.5954, allocations: 40.8 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5954, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5954, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5955, allocations: 3.984 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.5956, allocations: 130.1 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.5956, allocations: 20.3 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.5957, allocations: 12.92 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.5963, allocations: 461.9 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5963, allocations: 32.72 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.5963, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004934/0.5968, allocations: 242.3 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.5968, allocations: 51.41 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.5969, allocations: 93 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.5969, allocations: 25.7 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.5969, allocations: 81.08 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.597, allocations: 11.89 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.597, allocations: 4.25 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5971, allocations: 318.8 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.5971, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.5971, allocations: 13.72 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.5972, allocations: 11.94 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5972, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.5973, allocations: 45.75 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5973, allocations: 8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5973, allocations: 4.781 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5974, allocations: 4 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.5974, allocations: 4 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5974, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.5974, allocations: 10.05 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.5975, allocations: 8 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.544e-05/0.5975, allocations: 107.3 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.5976, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.5977, allocations: 55.06 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5977, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5977, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5978, allocations: 3.906 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.339e-05/0.5978, allocations: 130.2 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5979, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.5979, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5979, allocations: 4 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5979, allocations: 3.984 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5979, allocations: 5.312 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5979, allocations: 3.938 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001364/0.5981, allocations: 77.03 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.5981, allocations: 77.11 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.5981, allocations: 0 / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.5982, allocations: 9.75 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.5982, allocations: 3.906 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.5982, allocations: 48 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.686e-05/0.5983, allocations: 83.27 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001925/0.5985, allocations: 31.94 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001954/0.5987, allocations: 142.9 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.5987, allocations: 15.94 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5987, allocations: 224 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.5988, allocations: 8.234 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.118e-05/0.5989, allocations: 6.906 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.599, allocations: 73.02 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.5993, allocations: 0.6876 MB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.5993, allocations: 0 / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.00247/0.6018, allocations: 0.8867 MB / 1.106 GB, free: 9.676 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)