Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8321/0.8321, allocations: 141.8 MB / 149.1 MB, free: 1.277 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 185.2 kB / 181.9 MB, free: 0.582 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.4 MB / 436 MB, free: 5.301 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.6 kB / 0.507 GB, free: 1.949 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 288 kB / 0.5885 GB, free: 47.12 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.176e-05/1.18e-05, allocations: 2.156 kB / 0.6759 GB, free: 59.37 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 82.78 MB / 0.7567 GB, free: 0.5898 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.4347, allocations: 109.7 MB / 0.8638 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.4351, allocations: 75.95 kB / 0.8639 GB, free: 2.703 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.3418/0.7769, allocations: 4.734 MB / 0.8685 GB, free: 110.3 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.7769, allocations: 3.188 kB / 0.8685 GB, free: 110.3 MB / 0.5419 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.0005083/0.7775, allocations: 409.8 kB / 0.8689 GB, free: 110 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/0.7775, allocations: 10.62 kB / 0.8689 GB, free: 110 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/0.7785, allocations: 136.8 kB / 0.869 GB, free: 110 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.7786, allocations: 177.3 kB / 0.8692 GB, free: 109.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.7788, allocations: 69.3 kB / 0.8693 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.7789, allocations: 5.031 kB / 0.8693 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000277/0.7792, allocations: 78.23 kB / 0.8693 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.7795, allocations: 106.8 kB / 0.8695 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.7795, allocations: 1.906 kB / 0.8695 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.7795, allocations: 0.7031 kB / 0.8695 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7795, allocations: 2.562 kB / 0.8695 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.7811, allocations: 487.9 kB / 0.8699 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.7813, allocations: 92.11 kB / 0.87 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.7815, allocations: 35.75 kB / 0.87 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.7815, allocations: 6.094 kB / 0.87 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.7816, allocations: 32.78 kB / 0.8701 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=6): time 3.076e-06/0.7816, allocations: 0 / 0.8701 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.0003998/0.782, allocations: 106.8 kB / 0.8702 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.782, allocations: 52.81 kB / 0.8702 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.7822, allocations: 125.1 kB / 0.8704 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.7822, allocations: 25.7 kB / 0.8704 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.7823, allocations: 103.9 kB / 0.8705 GB, free: 109 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.7824, allocations: 24.52 kB / 0.8705 GB, free: 109 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.7824, allocations: 0 / 0.8705 GB, free: 109 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7825, allocations: 326.3 kB / 0.8708 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.7826, allocations: 32.61 kB / 0.8708 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.7827, allocations: 49.98 kB / 0.8709 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.7828, allocations: 31.92 kB / 0.8709 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7828, allocations: 0 / 0.8709 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002723/0.7831, allocations: 122.7 kB / 0.871 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7831, allocations: 4.969 kB / 0.871 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7831, allocations: 1.828 kB / 0.871 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.7831, allocations: 5.219 kB / 0.871 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.7835, allocations: 53.78 kB / 0.8711 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.7835, allocations: 1.406 kB / 0.8711 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.7838, allocations: 35.97 kB / 0.8711 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.7838, allocations: 3.891 kB / 0.8711 GB, free: 108.6 MB / 0.5419 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 0.0001134/0.7839, allocations: 107.6 kB / 0.8712 GB, free: 108.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.784, allocations: 12.19 kB / 0.8713 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.7844, allocations: 124.4 kB / 0.8714 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7845, allocations: 1.031 kB / 0.8714 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7845, allocations: 2.906 kB / 0.8714 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.7845, allocations: 0.6094 kB / 0.8714 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.7849, allocations: 201.7 kB / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7849, allocations: 0 / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.7852, allocations: 47.39 kB / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7852, allocations: 0 / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.7852, allocations: 2.906 kB / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.7853, allocations: 4.703 kB / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7853, allocations: 0 / 0.8716 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002927/0.7856, allocations: 210 kB / 0.8718 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.7856, allocations: 90.38 kB / 0.8719 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.7857, allocations: 0 / 0.8719 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.7861, allocations: 50.45 kB / 0.872 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.7861, allocations: 7.938 kB / 0.872 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.7862, allocations: 6.75 kB / 0.872 GB, free: 108 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.841e-05/0.7862, allocations: 100.7 kB / 0.8721 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002941/0.7865, allocations: 23.88 kB / 0.8721 GB, free: 107.9 MB / 0.5419 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.0001483/0.7867, allocations: 97.78 kB / 0.8722 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.7869, allocations: 84.56 kB / 0.8723 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7869, allocations: 0 / 0.8723 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.787, allocations: 44.7 kB / 0.8723 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.7873, allocations: 3.25 kB / 0.8723 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.7878, allocations: 143.8 kB / 0.8724 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.7881, allocations: 0.7313 MB / 0.8732 GB, free: 107 MB / 0.5419 GB Notification: Performance of SimCode: time 8.61e-07/0.7881, allocations: 0 / 0.8732 GB, free: 107 MB / 0.5419 GB Notification: Performance of Templates: time 0.005821/0.7939, allocations: 1.7 MB / 0.8748 GB, free: 106.9 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)