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.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",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.43/4.43, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.533/4.963, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/5.188, allocations: 98.73 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/5.43, allocations: 125.5 MB / 0.7508 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/5.431, allocations: 75.59 kB / 0.7509 GB, free: 12.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.02619/5.457, allocations: 5.044 MB / 0.7558 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/5.457, allocations: 8 kB / 0.7559 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/5.458, allocations: 135.7 kB / 0.756 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/5.459, allocations: 186.8 kB / 0.7562 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/5.459, allocations: 63.39 kB / 0.7562 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/5.459, allocations: 4 kB / 0.7562 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002997/5.459, allocations: 76 kB / 0.7563 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/5.459, allocations: 109.5 kB / 0.7564 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/5.46, allocations: 0 / 0.7564 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/5.46, allocations: 3.938 kB / 0.7564 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/5.46, allocations: 7.938 kB / 0.7564 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/5.461, allocations: 482.5 kB / 0.7569 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/5.462, allocations: 86.55 kB / 0.757 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/5.462, allocations: 36.98 kB / 0.757 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/5.462, allocations: 0 / 0.757 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/5.462, allocations: 38.56 kB / 0.757 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/5.462, allocations: 0 / 0.757 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004701/5.462, allocations: 101.6 kB / 0.7571 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/5.463, allocations: 55.41 kB / 0.7572 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/5.463, allocations: 129.1 kB / 0.7573 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/5.463, allocations: 25.7 kB / 0.7573 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/5.463, allocations: 112 kB / 0.7574 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/5.463, allocations: 15.73 kB / 0.7574 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/5.463, allocations: 0 / 0.7574 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001373/5.463, allocations: 326.7 kB / 0.7578 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/5.463, allocations: 32 kB / 0.7578 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/5.463, allocations: 54.56 kB / 0.7578 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/5.463, allocations: 28 kB / 0.7579 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/5.463, allocations: 0 / 0.7579 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003557/5.464, allocations: 117.5 kB / 0.758 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/5.464, allocations: 4 kB / 0.758 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/5.464, allocations: 4.047 kB / 0.758 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/5.464, allocations: 4 kB / 0.758 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/5.464, allocations: 51.95 kB / 0.758 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/5.465, allocations: 0 / 0.758 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/5.465, allocations: 39.88 kB / 0.7581 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/5.465, allocations: 3.984 kB / 0.7581 GB, free: 4.512 MB / 0.6355 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 (8): * Single equations (assignments): 8 * 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 0.0001254/5.465, allocations: 112.9 kB / 0.7582 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/5.465, allocations: 11.84 kB / 0.7582 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/5.466, allocations: 118.1 kB / 0.7583 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/5.466, allocations: 4.094 kB / 0.7583 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/5.466, allocations: 4 kB / 0.7583 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/5.466, allocations: 0 / 0.7583 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/5.466, allocations: 199 kB / 0.7585 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/5.466, allocations: 4 kB / 0.7585 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/5.467, allocations: 43.95 kB / 0.7586 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/5.467, allocations: 0 / 0.7586 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/5.467, allocations: 11.89 kB / 0.7586 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/5.467, allocations: 0 / 0.7586 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/5.467, allocations: 0 / 0.7586 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003874/5.467, allocations: 203.4 kB / 0.7588 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004771/5.468, allocations: 0.5662 MB / 0.7593 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/5.468, allocations: 89 kB / 0.7594 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/5.468, allocations: 0 / 0.7594 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/5.468, allocations: 55.95 kB / 0.7595 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/5.468, allocations: 0 / 0.7595 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/5.469, allocations: 7.984 kB / 0.7595 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001483/5.469, allocations: 103.3 kB / 0.7596 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001183/5.47, allocations: 27.84 kB / 0.7596 GB, free: 2.867 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 (6): * Single equations (assignments): 6 * 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.0001713/5.47, allocations: 99.19 kB / 0.7597 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003467/5.47, allocations: 75.98 kB / 0.7598 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/5.47, allocations: 8.062 kB / 0.7598 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/5.471, allocations: 47.92 kB / 0.7598 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/5.471, allocations: 4 kB / 0.7598 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/5.472, allocations: 147.6 kB / 0.76 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/5.472, allocations: 0.7231 MB / 0.7607 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/5.472, allocations: 0 / 0.7607 GB, free: 1.715 MB / 0.6355 GB