Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.494/1.494, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001063/0.001063, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.361/1.361, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009514/0.0009516, allocations: 88.58 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.337e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.602, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.7717, allocations: 138.2 MB / 1.108 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.772, allocations: 79.94 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01258/0.7846, allocations: 4.176 MB / 1.112 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.7846, allocations: 0 / 1.112 GB, free: 6.164 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.0002866/0.7849, allocations: 346.4 kB / 1.112 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.785, allocations: 8.031 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.785, allocations: 7.984 kB / 1.112 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.7852, allocations: 163 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7852, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.7852, allocations: 4 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.128e-05/0.7853, allocations: 4 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.611e-05/0.7853, allocations: 29.7 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7853, allocations: 0 / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.7854, allocations: 3.938 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7854, allocations: 0 / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.7856, allocations: 138.1 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.7856, allocations: 18.61 kB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.7856, allocations: 8.859 kB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.7862, allocations: 461.5 kB / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.7863, allocations: 32.62 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7863, allocations: 4 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005393/0.7868, allocations: 246.4 kB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.7869, allocations: 55.39 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.97e-05/0.7869, allocations: 89 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7869, allocations: 25.7 kB / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.787, allocations: 80.14 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.787, allocations: 7.906 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.787, allocations: 0 / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.7871, allocations: 322.9 kB / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.7871, allocations: 0 / 1.114 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.7871, allocations: 21.7 kB / 1.114 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.7872, allocations: 8 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.7872, allocations: 0 / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001133/0.7873, allocations: 53.62 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7873, allocations: 10.44 kB / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7874, allocations: 4.062 kB / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7874, allocations: 4 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.7874, allocations: 8 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.7875, allocations: 0 / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.7875, allocations: 0 / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.7875, allocations: 0 / 1.114 GB, free: 3.707 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 5.768e-05/0.7876, allocations: 114.1 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.7876, allocations: 0 / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.7878, allocations: 59.16 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7878, allocations: 4.188 kB / 1.114 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7878, allocations: 0.5625 kB / 1.114 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7878, allocations: 7.891 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.128e-05/0.7879, allocations: 134.2 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7879, allocations: 0 / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.7879, allocations: 4 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.788, allocations: 0 / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.788, allocations: 0.75 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.788, allocations: 4 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.788, allocations: 0 / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001581/0.7881, allocations: 80.97 kB / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.7882, allocations: 77.16 kB / 1.114 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7882, allocations: 3.984 kB / 1.114 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.7883, allocations: 0 / 1.114 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.7883, allocations: 3.906 kB / 1.114 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.7883, allocations: 13.75 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.637e-05/0.7883, allocations: 75.28 kB / 1.114 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002068/0.7885, allocations: 31.92 kB / 1.114 GB, free: 3.016 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.0002202/0.7888, allocations: 139.2 kB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.263e-05/0.7888, allocations: 19.94 kB / 1.114 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7888, allocations: 0 / 1.114 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.7889, allocations: 4 kB / 1.114 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.789, allocations: 4.219 kB / 1.114 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.7892, allocations: 76.2 kB / 1.115 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.7895, allocations: 0.6876 MB / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7895, allocations: 0 / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of Templates: time 0.003031/0.7925, allocations: 0.8784 MB / 1.116 GB, free: 1.184 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)