Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.471/1.471, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001097/0.001097, allocations: 177.3 kB / 366.3 MB, free: 1.953 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.189/1.189, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.0008584/0.0008584, allocations: 91.77 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.388e-06/9.418e-06, allocations: 4 kB / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4691, allocations: 116.3 MB / 0.9726 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.6237, allocations: 137.4 MB / 1.107 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.624, allocations: 73.03 kB / 1.107 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001141/0.6251, allocations: 237.1 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6252, allocations: 0 / 1.107 GB, free: 12.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002283/0.6254, allocations: 312.8 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6255, allocations: 8.875 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.6257, allocations: 20.7 kB / 1.107 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.6258, allocations: 159.1 kB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.6258, allocations: 7.062 kB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.6258, allocations: 2.5 kB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.942e-05/0.6259, allocations: 4 kB / 1.108 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.911e-05/0.6259, allocations: 33.62 kB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.6259, allocations: 4.656 kB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.6259, allocations: 0 / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.626, allocations: 0 / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.6261, allocations: 127.4 kB / 1.108 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.6261, allocations: 18.56 kB / 1.108 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.6262, allocations: 10.41 kB / 1.108 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6262, allocations: 2.812 kB / 1.108 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6262, allocations: 35.78 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.6262, allocations: 0 / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.6264, allocations: 35.89 kB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6264, allocations: 51.91 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.316e-05/0.6264, allocations: 85.53 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.6264, allocations: 27.58 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.6265, allocations: 84.14 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.6265, allocations: 4 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.6265, allocations: 0 / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6266, allocations: 315.4 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.6266, allocations: 0.5938 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.6267, allocations: 1.375 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.6267, allocations: 4 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6267, allocations: 3.906 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.889e-05/0.6268, allocations: 30.55 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.6268, allocations: 4 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6268, allocations: 4.5 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6268, allocations: 4.766 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.6269, allocations: 4.594 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.6269, allocations: 8.562 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.627, allocations: 0.5938 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.627, allocations: 0 / 1.108 GB, free: 11.19 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 (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.835e-05/0.627, allocations: 101.8 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.627, allocations: 12.39 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.6271, allocations: 4.344 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.6271, allocations: 0 / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6271, allocations: 2.703 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6271, allocations: 0 / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.869e-05/0.6272, allocations: 126.9 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6272, allocations: 2.062 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.6273, allocations: 8.984 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6273, allocations: 0 / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6273, allocations: 4.469 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6273, allocations: 0 / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6273, allocations: 4.656 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.346e-05/0.6274, allocations: 54.95 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.6274, allocations: 77.83 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.6274, allocations: 0 / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.6275, allocations: 12.5 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.6275, allocations: 0.7188 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.6275, allocations: 0 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.636e-05/0.6275, allocations: 76.88 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001903/0.6277, allocations: 8.156 kB / 1.109 GB, free: 10.64 MB / 0.7136 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 0.0001238/0.6279, allocations: 99.23 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.6279, allocations: 8 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6279, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.628, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.099e-05/0.628, allocations: 4 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.6282, allocations: 49.72 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.6285, allocations: 0.6841 MB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6285, allocations: 0 / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of Templates: time 0.001824/0.6304, allocations: 276.5 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)