Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") [: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.43/2.43, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001695/0.001695, allocations: 181.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 87.12 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.616e-05, allocations: 4 kB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.605, allocations: 115.2 MB / 0.9628 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.8164, allocations: 137.8 MB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.8167, allocations: 72.61 kB / 1.097 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006369/0.8231, allocations: 1.072 MB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.8232, allocations: 4.812 kB / 1.098 GB, free: 1.887 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004487/0.8236, allocations: 343.6 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8237, allocations: 9.156 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.8237, allocations: 9.906 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.8239, allocations: 166.9 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8239, allocations: 4.875 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.824, allocations: 0.7031 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.939e-05/0.8241, allocations: 11.98 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.488e-05/0.8242, allocations: 38.8 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8242, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.8242, allocations: 5.141 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.8242, allocations: 0.5625 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.8246, allocations: 226.2 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.8247, allocations: 32.14 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.8248, allocations: 10.89 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.826, allocations: 482 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.826, allocations: 34.56 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/0.8261, allocations: 0.5156 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005375/0.8266, allocations: 85.56 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.8267, allocations: 51.41 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.8268, allocations: 101 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.8268, allocations: 25.7 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.8269, allocations: 80.14 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.8269, allocations: 15.88 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.8269, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8271, allocations: 318.8 kB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.8271, allocations: 7.938 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.8272, allocations: 10.91 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.8276, allocations: 44.02 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8276, allocations: 0 / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004225/0.828, allocations: 93.55 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8281, allocations: 6.5 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.8281, allocations: 9.688 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.8281, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.8282, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8283, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.8283, allocations: 7.984 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.8283, allocations: 0 / 1.101 GB, free: 15.43 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 (2): * Single equations (assignments): 2 * 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.185e-05/0.8284, allocations: 110 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.8285, allocations: 8.422 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.829, allocations: 93.2 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.829, allocations: 4.031 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.829, allocations: 0.7031 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.829, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.8292, allocations: 144.6 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8292, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.8293, allocations: 8 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.8293, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.8294, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8294, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.8294, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004633/0.8299, allocations: 187.3 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.8299, allocations: 89.05 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.83, allocations: 4.688 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.8301, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.8301, allocations: 4 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.8301, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.179e-05/0.8302, allocations: 94.92 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003433/0.8306, allocations: 25.25 kB / 1.101 GB, free: 14.59 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 (2): * Single equations (assignments): 2 * 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.0002317/0.8308, allocations: 115.2 kB / 1.101 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.8309, allocations: 12 kB / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8309, allocations: 0 / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.831, allocations: 8 kB / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.8312, allocations: 0 / 1.101 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.8315, allocations: 74.94 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.8319, allocations: 0.688 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.832, allocations: 0 / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.003658/0.8356, allocations: 0.6641 MB / 1.103 GB, free: 13.01 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)