Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.244/2.244, allocations: 284.9 MB / 292.2 MB, free: 9.801 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 182.5 kB / 360.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 0.6188 GB, free: 3.23 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 96.7 kB / 0.7318 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.032e-05, allocations: 2.562 kB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6658/0.8667, allocations: 138.9 MB / 1.098 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.8671, allocations: 76.73 kB / 1.098 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03051/0.8977, allocations: 4.656 MB / 1.103 GB, free: 44.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.8977, allocations: 3.875 kB / 1.103 GB, free: 44.81 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.0005863/0.8983, allocations: 408.2 kB / 1.103 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8984, allocations: 11.62 kB / 1.103 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8996, allocations: 135.5 kB / 1.104 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.8998, allocations: 186.3 kB / 1.104 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.8999, allocations: 61.92 kB / 1.104 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.8999, allocations: 7.531 kB / 1.104 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002807/0.9002, allocations: 73.75 kB / 1.104 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.9005, allocations: 109.5 kB / 1.104 GB, free: 44.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.9006, allocations: 0 / 1.104 GB, free: 44.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.9006, allocations: 0 / 1.104 GB, free: 44.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.9006, allocations: 11.81 kB / 1.104 GB, free: 44.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.9023, allocations: 476.9 kB / 1.104 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.9025, allocations: 84.67 kB / 1.105 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.9027, allocations: 35.7 kB / 1.105 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.9027, allocations: 10.09 kB / 1.105 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.9027, allocations: 30.56 kB / 1.105 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.255e-06/0.9028, allocations: 0 / 1.105 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003792/0.9031, allocations: 103.3 kB / 1.105 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.9032, allocations: 59.31 kB / 1.105 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.9033, allocations: 123.2 kB / 1.105 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.9033, allocations: 25.7 kB / 1.105 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.9034, allocations: 104.4 kB / 1.105 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.9034, allocations: 21.97 kB / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.9035, allocations: 0 / 1.105 GB, free: 43.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.9035, allocations: 322.3 kB / 1.105 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.9036, allocations: 34.44 kB / 1.105 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.9038, allocations: 54.61 kB / 1.105 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.9039, allocations: 26.33 kB / 1.105 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9039, allocations: 0 / 1.105 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003007/0.9042, allocations: 116.5 kB / 1.106 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9042, allocations: 7.562 kB / 1.106 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9042, allocations: 0 / 1.106 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.9043, allocations: 0 / 1.106 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.9048, allocations: 55.69 kB / 1.106 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9048, allocations: 0 / 1.106 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.9052, allocations: 39.67 kB / 1.106 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.9053, allocations: 3.875 kB / 1.106 GB, free: 43.03 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 9.378e-05/0.9054, allocations: 108.9 kB / 1.106 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.9054, allocations: 11.69 kB / 1.106 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.9059, allocations: 119.1 kB / 1.106 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9059, allocations: 0 / 1.106 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9059, allocations: 0 / 1.106 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9059, allocations: 4 kB / 1.106 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.9062, allocations: 219.3 kB / 1.106 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9062, allocations: 0 / 1.106 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.9067, allocations: 47.98 kB / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.9067, allocations: 0 / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.9067, allocations: 11.34 kB / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9068, allocations: 0 / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9068, allocations: 0 / 1.106 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003067/0.9071, allocations: 206.3 kB / 1.106 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.9071, allocations: 88.38 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.9072, allocations: 7.344 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.9078, allocations: 43.52 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.9079, allocations: 9.578 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.9079, allocations: 7.266 kB / 1.106 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.616e-05/0.908, allocations: 103.2 kB / 1.107 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003723/0.9084, allocations: 23.25 kB / 1.107 GB, free: 42.35 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.0001376/0.9085, allocations: 100.9 kB / 1.107 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.9088, allocations: 79.58 kB / 1.107 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9088, allocations: 0 / 1.107 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.9089, allocations: 39.33 kB / 1.107 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.9092, allocations: 10.31 kB / 1.107 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.9098, allocations: 140.9 kB / 1.107 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.9101, allocations: 0.7325 MB / 1.108 GB, free: 41.46 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.9101, allocations: 0 / 1.108 GB, free: 41.46 MB / 0.7136 GB Notification: Performance of Templates: time 0.005222/0.9154, allocations: 1.685 MB / 1.109 GB, free: 41.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)