Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") [: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.358/1.358, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009427/0.0009427, allocations: 187.5 kB / 361.1 MB, free: 7.113 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.1 MB / 0.6195 GB, free: 11.97 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.0007588/0.0007589, allocations: 103 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 0.8511 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.442, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5767, allocations: 136.5 MB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.577, allocations: 77.88 kB / 1.097 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001189/0.5782, allocations: 241.1 kB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5782, allocations: 0 / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002036/0.5784, allocations: 311.6 kB / 1.098 GB, free: 2.984 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5784, allocations: 12.03 kB / 1.098 GB, free: 2.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.5786, allocations: 12.62 kB / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.5787, allocations: 171 kB / 1.098 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5787, allocations: 3.906 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.5787, allocations: 0.5625 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.727e-05/0.5788, allocations: 8.766 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.628e-05/0.5789, allocations: 29.7 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5789, allocations: 0 / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5789, allocations: 2.062 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5789, allocations: 0 / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.579, allocations: 126.2 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.579, allocations: 19.67 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.5791, allocations: 8.797 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.5791, allocations: 0.8125 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5791, allocations: 41.36 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.5791, allocations: 0.7969 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.5793, allocations: 38.31 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.5793, allocations: 52 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.492e-05/0.5793, allocations: 85.91 kB / 1.098 GB, free: 2.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.5793, allocations: 25.7 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.5794, allocations: 83.73 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.5794, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.5794, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.5795, allocations: 312.5 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.5795, allocations: 4 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.5795, allocations: 0 / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.657e-05/0.5796, allocations: 0 / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5796, allocations: 3.906 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.325e-05/0.5796, allocations: 44.81 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.5796, allocations: 4 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5796, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.5797, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.5797, allocations: 4 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.5797, allocations: 3.938 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.5798, allocations: 3.984 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5798, allocations: 0.6875 kB / 1.099 GB, free: 1.773 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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.643e-05/0.5799, allocations: 112.7 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.5799, allocations: 5.281 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.5799, allocations: 4.828 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5799, allocations: 0 / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5799, allocations: 0.8125 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5799, allocations: 1.969 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.979e-05/0.58, allocations: 130.9 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.58, allocations: 0 / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.58, allocations: 1.156 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5801, allocations: 4.656 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.5801, allocations: 3.906 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5801, allocations: 2 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5801, allocations: 0.625 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.262e-05/0.5802, allocations: 62.53 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.5802, allocations: 81.67 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5802, allocations: 0 / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.5802, allocations: 4.5 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.5803, allocations: 4.578 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.5803, allocations: 0.75 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.43e-05/0.5803, allocations: 79.28 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001575/0.5805, allocations: 0.5312 kB / 1.099 GB, free: 1.219 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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 9.857e-05/0.5806, allocations: 100.3 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.406e-05/0.5806, allocations: 4.156 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5806, allocations: 4.062 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.5807, allocations: 7.938 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.239e-05/0.5807, allocations: 2.344 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.5809, allocations: 44.06 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.5811, allocations: 0.6847 MB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5811, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of Templates: time 0.001626/0.5828, allocations: 284 kB / 1.1 GB, free: 72 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)