Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.702/2.702, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001813/0.001812, allocations: 185.3 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001233/0.001232, allocations: 90.09 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3019/0.3031, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.9681, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/1.197, allocations: 137.5 MB / 1.097 GB, free: 3.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.197, allocations: 68.48 kB / 1.097 GB, free: 3.355 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.005244/1.202, allocations: 1.11 MB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.202, allocations: 12.48 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/1.202, allocations: 7.906 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.203, allocations: 159.9 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.203, allocations: 0.75 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/1.203, allocations: 0.5938 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.984e-05/1.203, allocations: 12 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/1.203, allocations: 42.28 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.203, allocations: 0.6875 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.203, allocations: 5.156 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.203, allocations: 0.5938 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/1.203, allocations: 250.4 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/1.204, allocations: 27.77 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.204, allocations: 12.92 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/1.204, allocations: 85.14 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.204, allocations: 34.56 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/1.204, allocations: 0 / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/1.204, allocations: 54.19 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.204, allocations: 51.41 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.204, allocations: 92.94 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.204, allocations: 25.7 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/1.205, allocations: 88.17 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/1.205, allocations: 11.89 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.205, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.205, allocations: 310.8 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/1.205, allocations: 8 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/1.205, allocations: 3.938 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/1.205, allocations: 19.89 kB / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.205, allocations: 0 / 1.099 GB, free: 0.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/1.205, allocations: 57.73 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.205, allocations: 5.562 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.205, allocations: 0 / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.205, allocations: 0 / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/1.205, allocations: 19.73 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.205, allocations: 2.031 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/1.206, allocations: 15.95 kB / 1.099 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/1.206, allocations: 5.5 kB / 1.099 GB, free: 0.6914 MB / 0.698 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.288e-05/1.206, allocations: 112.6 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/1.206, allocations: 0 / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/1.206, allocations: 57.73 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.206, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.206, allocations: 3.906 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.206, allocations: 4.031 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/1.206, allocations: 138.2 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.206, allocations: 0 / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.206, allocations: 12 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.206, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.206, allocations: 3.984 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.206, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.206, allocations: 2.203 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000271/1.207, allocations: 162 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000403/1.207, allocations: 0.5155 MB / 1.1 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/1.207, allocations: 77.11 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.207, allocations: 64 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.207, allocations: 15.98 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/1.207, allocations: 3.906 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.207, allocations: 4.516 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.34e-05/1.208, allocations: 79.28 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001159/1.209, allocations: 8 kB / 1.101 GB, free: 15.41 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.0001806/1.209, allocations: 103.2 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001132/1.209, allocations: 19.94 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.209, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.483e-05/1.209, allocations: 7.938 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/1.209, allocations: 10.56 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/1.21, allocations: 52.73 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/1.21, allocations: 0.6958 MB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.21, allocations: 4.125 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)