Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.554/2.554, allocations: 284.8 MB / 292.1 MB, free: 9.844 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.001573/0.001573, allocations: 182.7 kB / 360.3 MB, free: 1.008 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.965/1.965, allocations: 205.1 MB / 0.6187 GB, free: 3.273 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.00133/0.00133, allocations: 89.81 kB / 0.7317 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.581/0.5824, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.8181, allocations: 115.2 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6953/1.513, allocations: 136.9 MB / 1.096 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.514, allocations: 78.11 kB / 1.097 GB, free: 44.16 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.003286/1.517, allocations: 0.831 MB / 1.097 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.517, allocations: 11.75 kB / 1.097 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/1.517, allocations: 0 / 1.097 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.794e-05/1.517, allocations: 163.2 kB / 1.098 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/1.517, allocations: 3.906 kB / 1.098 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/1.517, allocations: 4.062 kB / 1.098 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.193e-05/1.517, allocations: 7.719 kB / 1.098 GB, free: 43.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.301e-05/1.517, allocations: 32.3 kB / 1.098 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.517, allocations: 3.875 kB / 1.098 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.517, allocations: 0 / 1.098 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.517, allocations: 0 / 1.098 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/1.518, allocations: 133.7 kB / 1.098 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/1.518, allocations: 21.91 kB / 1.098 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/1.518, allocations: 17.48 kB / 1.098 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.518, allocations: 84.83 kB / 1.098 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.518, allocations: 34.12 kB / 1.098 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/1.518, allocations: 0 / 1.098 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.005014/1.523, allocations: 361.9 kB / 1.098 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/1.523, allocations: 58.59 kB / 1.098 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.192e-05/1.523, allocations: 85 kB / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/1.523, allocations: 25.7 kB / 1.098 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/1.523, allocations: 80.14 kB / 1.098 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/1.523, allocations: 14.97 kB / 1.098 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/1.523, allocations: 3.656 kB / 1.098 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/1.523, allocations: 314.6 kB / 1.099 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/1.523, allocations: 12.56 kB / 1.099 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/1.524, allocations: 27.95 kB / 1.099 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/1.524, allocations: 17.44 kB / 1.099 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.524, allocations: 3.938 kB / 1.099 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003188/1.524, allocations: 69.69 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.524, allocations: 4.5 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.524, allocations: 5.094 kB / 1.099 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.524, allocations: 5.188 kB / 1.099 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/1.525, allocations: 46.75 kB / 1.099 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.525, allocations: 9.547 kB / 1.099 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/1.526, allocations: 37.52 kB / 1.099 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.526, allocations: 7.797 kB / 1.099 GB, free: 42.52 MB / 0.7136 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.286e-05/1.526, allocations: 108.3 kB / 1.099 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/1.526, allocations: 3.906 kB / 1.099 GB, free: 42.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/1.527, allocations: 95.92 kB / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/1.527, allocations: 288 / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.527, allocations: 0 / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/1.527, allocations: 4 kB / 1.099 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/1.527, allocations: 298.2 kB / 1.099 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.527, allocations: 3.984 kB / 1.099 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/1.528, allocations: 47.62 kB / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.528, allocations: 0 / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.528, allocations: 1.641 kB / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.528, allocations: 3.875 kB / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.528, allocations: 0 / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003501/1.528, allocations: 166.2 kB / 1.1 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004456/1.529, allocations: 0.5315 MB / 1.1 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/1.529, allocations: 77.11 kB / 1.1 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/1.529, allocations: 0 / 1.1 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/1.53, allocations: 41.23 kB / 1.1 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/1.53, allocations: 0 / 1.1 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/1.53, allocations: 9.125 kB / 1.1 GB, free: 57.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.511e-05/1.53, allocations: 75.28 kB / 1.1 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001173/1.531, allocations: 11.75 kB / 1.1 GB, free: 57.26 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 (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.0002159/1.531, allocations: 118.1 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002117/1.531, allocations: 22.09 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.531, allocations: 0 / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/1.531, allocations: 13.25 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/1.532, allocations: 3.906 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/1.533, allocations: 112.2 kB / 1.101 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/1.533, allocations: 0.6955 MB / 1.101 GB, free: 56.38 MB / 0.7292 GB Notification: Performance of SimCode: time 1.332e-06/1.533, allocations: 0 / 1.101 GB, free: 56.38 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)