Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.755/2.755, allocations: 284.8 MB / 292.1 MB, free: 9.852 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.002493/0.002493, allocations: 186.9 kB / 360.3 MB, free: 1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 0.6187 GB, free: 3.316 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 90.8 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5728/0.5741, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.7904, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6832/1.474, allocations: 137.8 MB / 1.097 GB, free: 32.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.474, allocations: 69.55 kB / 1.097 GB, free: 32.44 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006079/1.48, allocations: 1.403 MB / 1.099 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.48, allocations: 10.8 kB / 1.099 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.48, allocations: 7.656 kB / 1.099 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/1.48, allocations: 169 kB / 1.099 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.48, allocations: 7.75 kB / 1.099 GB, free: 31.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/1.48, allocations: 3.938 kB / 1.099 GB, free: 31.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.705e-05/1.48, allocations: 10.38 kB / 1.099 GB, free: 31.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/1.481, allocations: 40.36 kB / 1.099 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.481, allocations: 0 / 1.099 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/1.481, allocations: 0 / 1.099 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.481, allocations: 2.188 kB / 1.099 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/1.481, allocations: 233.1 kB / 1.099 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.191e-05/1.481, allocations: 29.45 kB / 1.099 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/1.481, allocations: 11.98 kB / 1.099 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009586/1.482, allocations: 472.9 kB / 1.1 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.482, allocations: 37.75 kB / 1.1 GB, free: 31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/1.482, allocations: 0 / 1.1 GB, free: 31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0005045/1.483, allocations: 85.23 kB / 1.1 GB, free: 30.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.483, allocations: 55.41 kB / 1.1 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/1.483, allocations: 99.11 kB / 1.1 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.483, allocations: 25.7 kB / 1.1 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/1.483, allocations: 86.58 kB / 1.1 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/1.483, allocations: 7.844 kB / 1.1 GB, free: 30.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.483, allocations: 0 / 1.1 GB, free: 30.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/1.483, allocations: 317.2 kB / 1.1 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/1.483, allocations: 3.875 kB / 1.1 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/1.483, allocations: 10.5 kB / 1.1 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/1.483, allocations: 47.05 kB / 1.1 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.483, allocations: 0 / 1.1 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003766/1.484, allocations: 90.27 kB / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.484, allocations: 4.422 kB / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.484, allocations: 3.75 kB / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.484, allocations: 0 / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.484, allocations: 12.14 kB / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.484, allocations: 0 / 1.101 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/1.484, allocations: 7.812 kB / 1.101 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.484, allocations: 1.25 kB / 1.101 GB, free: 30.32 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 5.83e-05/1.484, allocations: 108.9 kB / 1.101 GB, free: 30.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/1.484, allocations: 3.906 kB / 1.101 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/1.485, allocations: 95.56 kB / 1.101 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.485, allocations: 3.875 kB / 1.101 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.485, allocations: 0 / 1.101 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.485, allocations: 0 / 1.101 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/1.485, allocations: 145.9 kB / 1.101 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.485, allocations: 0 / 1.101 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/1.485, allocations: 15.72 kB / 1.101 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.485, allocations: 0 / 1.101 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/1.485, allocations: 0 / 1.101 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.485, allocations: 0 / 1.101 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.485, allocations: 0 / 1.101 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003936/1.485, allocations: 185 kB / 1.101 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005697/1.486, allocations: 0.5573 MB / 1.102 GB, free: 45.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/1.486, allocations: 80.3 kB / 1.102 GB, free: 45.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/1.486, allocations: 0 / 1.102 GB, free: 45.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/1.486, allocations: 7.125 kB / 1.102 GB, free: 45.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/1.486, allocations: 32 / 1.102 GB, free: 45.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/1.486, allocations: 10.55 kB / 1.102 GB, free: 45.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.934e-05/1.486, allocations: 81.66 kB / 1.102 GB, free: 45.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001164/1.487, allocations: 27.16 kB / 1.102 GB, free: 45.17 MB / 0.7292 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.00025/1.488, allocations: 117.5 kB / 1.102 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000122/1.488, allocations: 9.875 kB / 1.102 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.488, allocations: 0 / 1.102 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/1.488, allocations: 18.02 kB / 1.102 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/1.488, allocations: 4.125 kB / 1.102 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/1.488, allocations: 64.33 kB / 1.102 GB, free: 45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/1.489, allocations: 0.6904 MB / 1.103 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/1.489, allocations: 3.938 kB / 1.103 GB, free: 44.3 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)