Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothLimit",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 loadModel(Buildings): time 4.301/4.301, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6273/4.928, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/5.194, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/5.454, allocations: 124.4 MB / 0.7498 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/5.454, allocations: 71.61 kB / 0.7499 GB, free: 13.12 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.006482/5.461, allocations: 1.384 MB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/5.461, allocations: 8 kB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/5.461, allocations: 3.906 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/5.461, allocations: 167.1 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/5.461, allocations: 7.984 kB / 0.7514 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/5.461, allocations: 4 kB / 0.7514 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.23e-05/5.461, allocations: 8 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/5.461, allocations: 37.59 kB / 0.7515 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/5.461, allocations: 0 / 0.7515 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/5.461, allocations: 0 / 0.7515 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/5.461, allocations: 4 kB / 0.7515 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/5.462, allocations: 229.5 kB / 0.7517 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/5.462, allocations: 26.58 kB / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/5.462, allocations: 16.83 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/5.463, allocations: 473.4 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/5.463, allocations: 38.56 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/5.463, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0005017/5.464, allocations: 77.66 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/5.464, allocations: 59.38 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/5.464, allocations: 101 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/5.464, allocations: 25.7 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/5.464, allocations: 84.14 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/5.464, allocations: 3.906 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/5.464, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001389/5.464, allocations: 322.7 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/5.464, allocations: 4 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/5.464, allocations: 8 kB / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/5.464, allocations: 51.83 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.464, allocations: 0 / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000407/5.465, allocations: 93.69 kB / 0.753 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/5.465, allocations: 4 kB / 0.753 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/5.465, allocations: 4 kB / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/5.465, allocations: 0 / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/5.465, allocations: 12.03 kB / 0.753 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/5.465, allocations: 320 / 0.753 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/5.465, allocations: 15.83 kB / 0.753 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/5.465, allocations: 3.938 kB / 0.753 GB, free: 9.594 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.477e-05/5.465, allocations: 101 kB / 0.7531 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/5.465, allocations: 3.906 kB / 0.7531 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/5.466, allocations: 93.27 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/5.466, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/5.466, allocations: 4 kB / 0.7532 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/5.466, allocations: 0 / 0.7532 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/5.466, allocations: 142.2 kB / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/5.466, allocations: 0 / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/5.466, allocations: 8.031 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/5.466, allocations: 4 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/5.466, allocations: 3.906 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/5.466, allocations: 3.984 kB / 0.7534 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/5.466, allocations: 3.984 kB / 0.7534 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004471/5.467, allocations: 183.4 kB / 0.7536 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006266/5.467, allocations: 0.5468 MB / 0.7541 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/5.467, allocations: 85 kB / 0.7542 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/5.467, allocations: 4 kB / 0.7542 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/5.467, allocations: 0 / 0.7542 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/5.468, allocations: 4.031 kB / 0.7542 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/5.468, allocations: 4 kB / 0.7542 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.914e-05/5.468, allocations: 83.27 kB / 0.7543 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001154/5.469, allocations: 31.91 kB / 0.7543 GB, free: 8.195 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.0002139/5.469, allocations: 123.1 kB / 0.7544 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/5.469, allocations: 12 kB / 0.7544 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/5.469, allocations: 0 / 0.7544 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/5.469, allocations: 8 kB / 0.7544 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/5.469, allocations: 12.06 kB / 0.7545 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/5.47, allocations: 63.78 kB / 0.7545 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/5.47, allocations: 0.6958 MB / 0.7552 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of SimCode: time 2.766e-06/5.47, allocations: 3.938 kB / 0.7552 GB, free: 7.223 MB / 0.6355 GB