Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001075/0.001075, allocations: 189.2 kB / 361.1 MB, free: 7.074 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.192/1.192, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008163/0.0008164, allocations: 85.16 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2306/0.2315, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.8024, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.9545, allocations: 137.1 MB / 1.098 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.9548, allocations: 80.45 kB / 1.098 GB, free: 2.777 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.002272/0.9571, allocations: 0.8355 MB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9571, allocations: 8 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.9572, allocations: 0.6562 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.9573, allocations: 169.1 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.9573, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.9573, allocations: 4 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.914e-05/0.9574, allocations: 4 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/0.9575, allocations: 42.06 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9575, allocations: 0.9375 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.9575, allocations: 0 / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9575, allocations: 0 / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.9576, allocations: 126.9 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.9577, allocations: 31.78 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.9578, allocations: 8.859 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.9579, allocations: 92.16 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.9579, allocations: 30.56 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.958, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.002535/0.9605, allocations: 365.3 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.9605, allocations: 51.41 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.9606, allocations: 89 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.9606, allocations: 25.7 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.9606, allocations: 81.45 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.9607, allocations: 19.73 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.9607, allocations: 1.875 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9609, allocations: 314.8 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.9609, allocations: 4 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.961, allocations: 31.11 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.9611, allocations: 21.34 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.9611, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002065/0.9613, allocations: 70.02 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9613, allocations: 4 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.9614, allocations: 7.984 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.9614, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.9618, allocations: 56.06 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9618, allocations: 1.75 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.9621, allocations: 40.64 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.9622, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.021e-05/0.9623, allocations: 101 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.9623, allocations: 8.75 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.9628, allocations: 104.6 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.9628, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9628, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9628, allocations: 6.141 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.9632, allocations: 287 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9632, allocations: 1.188 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.9636, allocations: 51.97 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9636, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.9637, allocations: 0.7969 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9637, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9637, allocations: 4 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002284/0.9639, allocations: 159.5 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003286/0.9643, allocations: 0.531 MB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.9643, allocations: 77.11 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.9643, allocations: 4 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.9647, allocations: 39.97 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.9647, allocations: 12 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.9648, allocations: 0.8125 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.163e-05/0.9648, allocations: 75.28 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000861/0.9657, allocations: 15.84 kB / 1.102 GB, free: 14.56 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 (5): * Single equations (assignments): 5 * 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.0001625/0.9658, allocations: 115 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.966, allocations: 23.94 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.966, allocations: 0 / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.966, allocations: 19.92 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.9662, allocations: 10.55 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.9668, allocations: 100.7 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.9671, allocations: 0.6919 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9671, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)