Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.367/1.367, allocations: 285.5 MB / 292.8 MB, free: 14.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 174.2 kB / 361.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 0.6195 GB, free: 2.945 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 89.5 kB / 0.7326 GB, free: 54.11 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2149/0.2159, allocations: 121.4 MB / 0.8512 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.43, allocations: 115.3 MB / 0.9638 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5385/0.9685, allocations: 137.6 MB / 1.098 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.9688, allocations: 71.95 kB / 1.098 GB, free: 13.43 MB / 0.7012 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.003167/0.972, allocations: 1.106 MB / 1.099 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.972, allocations: 9.25 kB / 1.099 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.9721, allocations: 7.906 kB / 1.099 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.834e-05/0.9722, allocations: 159.6 kB / 1.099 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.9722, allocations: 0.875 kB / 1.099 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.9722, allocations: 5 kB / 1.099 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.157e-05/0.9723, allocations: 8 kB / 1.099 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.731e-05/0.9723, allocations: 42.53 kB / 1.1 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.9723, allocations: 4 kB / 1.1 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.9723, allocations: 1.266 kB / 1.1 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.9724, allocations: 0.8438 kB / 1.1 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.9727, allocations: 250.5 kB / 1.1 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.9728, allocations: 30.48 kB / 1.1 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.9728, allocations: 4.859 kB / 1.1 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.9729, allocations: 81.17 kB / 1.1 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.9729, allocations: 45.34 kB / 1.1 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.9729, allocations: 0 / 1.1 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.000237/0.9732, allocations: 49.67 kB / 1.1 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.9732, allocations: 51.41 kB / 1.1 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.9733, allocations: 95.67 kB / 1.1 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.9733, allocations: 26.42 kB / 1.1 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.9733, allocations: 92.66 kB / 1.1 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.9733, allocations: 3.906 kB / 1.1 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.9733, allocations: 2.625 kB / 1.1 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.9734, allocations: 311.6 kB / 1.101 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.9734, allocations: 8 kB / 1.101 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.9734, allocations: 4 kB / 1.101 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.9735, allocations: 20.53 kB / 1.101 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9735, allocations: 4 kB / 1.101 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001206/0.9736, allocations: 46.19 kB / 1.101 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.9737, allocations: 6.094 kB / 1.101 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.9737, allocations: 0 / 1.101 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.9737, allocations: 5.781 kB / 1.101 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.9738, allocations: 14.45 kB / 1.101 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.9738, allocations: 0 / 1.101 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.9738, allocations: 19.25 kB / 1.101 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.9739, allocations: 0.9375 kB / 1.101 GB, free: 10.79 MB / 0.7012 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 4.05e-05/0.9739, allocations: 108.8 kB / 1.101 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.9739, allocations: 5 kB / 1.101 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.9741, allocations: 58.98 kB / 1.101 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9741, allocations: 0 / 1.101 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.9741, allocations: 3.906 kB / 1.101 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.9741, allocations: 3.984 kB / 1.101 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.386e-05/0.9742, allocations: 130.2 kB / 1.101 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9743, allocations: 8.984 kB / 1.101 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.9743, allocations: 11.98 kB / 1.101 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9743, allocations: 0 / 1.101 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9743, allocations: 0 / 1.101 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9743, allocations: 0 / 1.101 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9744, allocations: 0 / 1.101 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001422/0.9745, allocations: 162.9 kB / 1.101 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001765/0.9747, allocations: 0.5191 MB / 1.102 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.9747, allocations: 77.11 kB / 1.102 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.9747, allocations: 4 kB / 1.102 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.9748, allocations: 12.05 kB / 1.102 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.9749, allocations: 7.906 kB / 1.102 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.9749, allocations: 2.625 kB / 1.102 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.921e-05/0.9749, allocations: 83.28 kB / 1.102 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00075/0.9757, allocations: 7.984 kB / 1.102 GB, free: 9.512 MB / 0.7012 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.0001281/0.9758, allocations: 103 kB / 1.102 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.9759, allocations: 19.94 kB / 1.102 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9759, allocations: 0 / 1.102 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.9759, allocations: 4 kB / 1.102 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.9761, allocations: 12.97 kB / 1.102 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000216/0.9763, allocations: 56.73 kB / 1.102 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.9765, allocations: 0.6919 MB / 1.103 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.9765, allocations: 4 kB / 1.103 GB, free: 8.566 MB / 0.7012 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)