Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001023/0.001023, allocations: 173.3 kB / 366.3 MB, free: 1.961 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.158/1.158, allocations: 205.2 MB / 0.6256 GB, free: 5.855 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.0008303/0.0008303, allocations: 92.41 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.73e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5125, allocations: 116.3 MB / 0.9726 GB, free: 68.56 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.674, allocations: 138.3 MB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.6743, allocations: 79.94 kB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01463/0.689, allocations: 4.704 MB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.689, allocations: 4 kB / 1.112 GB, free: 5.434 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.0003718/0.6894, allocations: 354.4 kB / 1.113 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.6895, allocations: 8.031 kB / 1.113 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.6896, allocations: 7.906 kB / 1.113 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6897, allocations: 167 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.6897, allocations: 4 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.6898, allocations: 5.688 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.402e-05/0.6899, allocations: 23.97 kB / 1.113 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.6899, allocations: 49.69 kB / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.69, allocations: 0 / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.69, allocations: 0 / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.69, allocations: 0 / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.6902, allocations: 142.1 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.6902, allocations: 41.72 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.6903, allocations: 28.84 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.6909, allocations: 461.5 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.691, allocations: 34.55 kB / 1.114 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.691, allocations: 0 / 1.114 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001083/0.6921, allocations: 0.5146 MB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.6921, allocations: 55.41 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.6922, allocations: 93 kB / 1.114 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6922, allocations: 26.27 kB / 1.114 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.6923, allocations: 84.12 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.6923, allocations: 31.47 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6923, allocations: 0 / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6925, allocations: 326.8 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.6926, allocations: 16 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.6926, allocations: 20.84 kB / 1.115 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.6927, allocations: 19.98 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.6927, allocations: 4 kB / 1.115 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001832/0.6929, allocations: 85.59 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6929, allocations: 8 kB / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6929, allocations: 0 / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6929, allocations: 0 / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.693, allocations: 19.98 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6931, allocations: 7.938 kB / 1.115 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.6931, allocations: 0.8438 kB / 1.115 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.6931, allocations: 4 kB / 1.115 GB, free: 2.465 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 7.015e-05/0.6932, allocations: 113.3 kB / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.6932, allocations: 4 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.6935, allocations: 101.2 kB / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6935, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6935, allocations: 0 / 1.115 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6935, allocations: 4 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.6939, allocations: 327.8 kB / 1.115 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6939, allocations: 0 / 1.115 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.694, allocations: 27.91 kB / 1.115 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6941, allocations: 0 / 1.115 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.6941, allocations: 3.984 kB / 1.115 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6941, allocations: 0 / 1.115 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6941, allocations: 4 kB / 1.115 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002746/0.6944, allocations: 211.6 kB / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.6944, allocations: 85.02 kB / 1.116 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6945, allocations: 8.234 kB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.6945, allocations: 0 / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.6946, allocations: 7.984 kB / 1.116 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.6946, allocations: 12.09 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.971e-05/0.6946, allocations: 79.22 kB / 1.116 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002801/0.6949, allocations: 51.94 kB / 1.116 GB, free: 1.355 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.0002728/0.6952, allocations: 156.4 kB / 1.116 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.6953, allocations: 55.94 kB / 1.116 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6953, allocations: 0 / 1.116 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.6954, allocations: 31.94 kB / 1.116 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6955, allocations: 6.734 kB / 1.116 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.6959, allocations: 116.4 kB / 1.116 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6962, allocations: 0.7036 MB / 1.117 GB, free: 244 kB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6962, allocations: 0 / 1.117 GB, free: 244 kB / 0.7136 GB Notification: Performance of Templates: time 0.003885/0.7001, allocations: 1.469 MB / 1.118 GB, free: 14.8 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)