Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.387/1.387, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009865/0.0009865, allocations: 187.3 kB / 361.1 MB, free: 7.102 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.219/1.219, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008458/0.000846, allocations: 92.28 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2135/0.2144, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.7606, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.9271, allocations: 138 MB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.9274, allocations: 77.83 kB / 1.099 GB, free: 1.965 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.004527/0.932, allocations: 1.413 MB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.932, allocations: 9.188 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.9321, allocations: 5.969 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.9322, allocations: 170.8 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.9322, allocations: 0 / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.9322, allocations: 4.562 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.006e-05/0.9323, allocations: 11.94 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.9324, allocations: 37.69 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9324, allocations: 0.5156 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.9324, allocations: 0 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9324, allocations: 5.344 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.9327, allocations: 230.4 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.9329, allocations: 29.12 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.9329, allocations: 17.45 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.9336, allocations: 477.9 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.9336, allocations: 31.25 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.9336, allocations: 0.875 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.934, allocations: 94.8 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.934, allocations: 51.41 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.9341, allocations: 101 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.9341, allocations: 25.7 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.9342, allocations: 80.14 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.9342, allocations: 11.84 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9342, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9343, allocations: 318.9 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.9343, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.9344, allocations: 8 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.9346, allocations: 55.94 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9346, allocations: 3.281 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002401/0.9348, allocations: 86.17 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9348, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9349, allocations: 8.016 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9349, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.935, allocations: 11.94 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.935, allocations: 2.266 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.935, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.935, allocations: 5.438 kB / 1.102 GB, free: 14.48 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 7.187e-05/0.9351, allocations: 101 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.9351, allocations: 11.89 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.9354, allocations: 93.77 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9355, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9355, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9355, allocations: 8.031 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.9356, allocations: 138.1 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9356, allocations: 1.438 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.9357, allocations: 7.984 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.9357, allocations: 4.516 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.9357, allocations: 0 / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9357, allocations: 0 / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9357, allocations: 0 / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002876/0.936, allocations: 186 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003863/0.9364, allocations: 0.5545 MB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.9365, allocations: 77.11 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.9365, allocations: 7.906 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.9366, allocations: 8.953 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.9366, allocations: 4.703 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.9366, allocations: 0 / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.411e-05/0.9367, allocations: 83.28 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007834/0.9375, allocations: 27.92 kB / 1.103 GB, free: 13.08 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.0001801/0.9377, allocations: 119 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.9378, allocations: 15.98 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9378, allocations: 4.062 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.9378, allocations: 7.938 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.938, allocations: 4.938 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.9382, allocations: 64.58 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.9385, allocations: 0.6957 MB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9385, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)