Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") [: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.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009586/0.0009586, allocations: 173.3 kB / 361.1 MB, free: 7.078 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.033/1.033, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008095/0.0008094, allocations: 89.86 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.603e-06/6.613e-06, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4566, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5957, allocations: 139 MB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.5959, allocations: 71.95 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01442/0.6104, allocations: 4.668 MB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6104, allocations: 0 / 1.104 GB, free: 12.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004353/0.6108, allocations: 418.1 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.6109, allocations: 8.031 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.6116, allocations: 127.8 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6118, allocations: 183.8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.6119, allocations: 69.39 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.6119, allocations: 4 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001785/0.6121, allocations: 79.89 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.6123, allocations: 104.4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6123, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.6123, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6123, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6134, allocations: 483.6 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.6136, allocations: 94.55 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.6136, allocations: 32.98 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.6137, allocations: 7.984 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6137, allocations: 34.56 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6137, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002661/0.614, allocations: 101.7 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.614, allocations: 59.33 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.6141, allocations: 124 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6141, allocations: 29.7 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.6142, allocations: 100.2 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6142, allocations: 24.97 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-06/0.6142, allocations: 0 / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.6143, allocations: 318.8 kB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.6144, allocations: 32 kB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.6145, allocations: 54.56 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.6146, allocations: 31.98 kB / 1.106 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6146, allocations: 0 / 1.106 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002037/0.6148, allocations: 115.1 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6148, allocations: 4 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6148, allocations: 3.906 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6148, allocations: 4 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.6151, allocations: 52.02 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6151, allocations: 0 / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.6154, allocations: 35.97 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.6154, allocations: 10.14 kB / 1.107 GB, free: 9.422 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.369e-05/0.6155, allocations: 112.8 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.6155, allocations: 7.906 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.6158, allocations: 115.8 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6158, allocations: 4 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6158, allocations: 0 / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6158, allocations: 0 / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.616, allocations: 219.6 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.616, allocations: 0 / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.6163, allocations: 43.95 kB / 1.107 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.6163, allocations: 4 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.6163, allocations: 0 / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6163, allocations: 3.938 kB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6163, allocations: 0 / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002185/0.6166, allocations: 205.2 kB / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.6166, allocations: 84.95 kB / 1.107 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.6166, allocations: 3.984 kB / 1.107 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.617, allocations: 51.95 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.617, allocations: 4 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.6171, allocations: 11.98 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.248e-05/0.6171, allocations: 97.5 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002702/0.6174, allocations: 23.91 kB / 1.108 GB, free: 8.367 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 (6): * Single equations (assignments): 6 * 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.0001147/0.6175, allocations: 103 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.6177, allocations: 85.7 kB / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6177, allocations: 0 / 1.108 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.6178, allocations: 39.98 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.618, allocations: 8 kB / 1.108 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.6184, allocations: 136.4 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.6187, allocations: 0.7349 MB / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.6187, allocations: 0 / 1.109 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.003649/0.6224, allocations: 1.696 MB / 1.11 GB, free: 5.562 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)