Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.291/2.291, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 178.9 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.1 MB / 0.5658 GB, free: 276 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 83.36 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4547/0.456, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.7148, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5827/1.298, allocations: 132.2 MB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.298, allocations: 68.03 kB / 1.013 GB, free: 7.953 MB / 0.6355 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.004867/1.303, allocations: 1.118 MB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.303, allocations: 8 kB / 1.014 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/1.303, allocations: 0 / 1.014 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/1.303, allocations: 171 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/1.303, allocations: 4 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/1.303, allocations: 0 / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.171e-05/1.303, allocations: 11 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/1.303, allocations: 37.14 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.303, allocations: 4.734 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/1.303, allocations: 0 / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.303, allocations: 0 / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/1.304, allocations: 248.5 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/1.304, allocations: 28.52 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/1.304, allocations: 11.67 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.304, allocations: 89.09 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.304, allocations: 30.56 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.304, allocations: 3.938 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003101/1.304, allocations: 57.27 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.304, allocations: 51.41 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/1.305, allocations: 96.25 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.305, allocations: 25.7 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/1.305, allocations: 84.08 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/1.305, allocations: 7.938 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.305, allocations: 0 / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.305, allocations: 318.8 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/1.305, allocations: 3 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/1.305, allocations: 4 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.305, allocations: 15.73 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.305, allocations: 0 / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/1.305, allocations: 57.42 kB / 1.015 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.305, allocations: 8.094 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.305, allocations: 0 / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.305, allocations: 3.906 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.305, allocations: 11.98 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.305, allocations: 0 / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/1.306, allocations: 19.88 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.306, allocations: 3.984 kB / 1.015 GB, free: 5.422 MB / 0.6355 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.538e-05/1.306, allocations: 105 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/1.306, allocations: 3.906 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/1.306, allocations: 60.69 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.306, allocations: 4 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.306, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.306, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/1.306, allocations: 137.4 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.306, allocations: 10.47 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.306, allocations: 11.94 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.306, allocations: 3.906 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.306, allocations: 4 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.306, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.306, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002653/1.307, allocations: 152.3 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003777/1.307, allocations: 0.5175 MB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/1.307, allocations: 81.02 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.307, allocations: 0 / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/1.307, allocations: 12.06 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.307, allocations: 11.3 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.307, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.35e-05/1.307, allocations: 79.28 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001094/1.309, allocations: 11.94 kB / 1.016 GB, free: 4.16 MB / 0.6355 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.0001712/1.309, allocations: 99.25 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.863e-05/1.309, allocations: 22.61 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.309, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/1.309, allocations: 8 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/1.309, allocations: 3.906 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/1.309, allocations: 71.39 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/1.31, allocations: 0.6913 MB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of SimCode: time 6.42e-07/1.31, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB