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.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.122/4.122, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6169/4.739, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/4.97, allocations: 98.73 MB / 0.6283 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/5.226, allocations: 123.7 MB / 0.7491 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/5.227, allocations: 79.61 kB / 0.7492 GB, free: 13.75 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.004679/5.231, allocations: 0.9433 MB / 0.7501 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/5.231, allocations: 11.98 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/5.231, allocations: 7.938 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/5.232, allocations: 166.9 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/5.232, allocations: 0 / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/5.232, allocations: 8 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.928e-05/5.232, allocations: 11.94 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/5.232, allocations: 37.69 kB / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/5.232, allocations: 0 / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/5.232, allocations: 0 / 0.7503 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/5.232, allocations: 4 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/5.233, allocations: 249.4 kB / 0.7506 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/5.233, allocations: 22.58 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/5.233, allocations: 8.969 kB / 0.7506 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/5.233, allocations: 218.1 kB / 0.7508 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/5.233, allocations: 38.56 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/5.233, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003247/5.234, allocations: 57.56 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/5.234, allocations: 51.41 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/5.234, allocations: 101 kB / 0.7511 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/5.234, allocations: 25.7 kB / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/5.234, allocations: 80.14 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/5.234, allocations: 3.906 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/5.234, allocations: 0 / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001571/5.234, allocations: 314.9 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/5.234, allocations: 8 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/5.234, allocations: 4 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/5.234, allocations: 23.91 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/5.234, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002115/5.235, allocations: 61.52 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/5.235, allocations: 7.125 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/5.235, allocations: 0 / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/5.235, allocations: 4.094 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/5.235, allocations: 11.98 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/5.235, allocations: 4 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.667e-05/5.235, allocations: 7.984 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/5.235, allocations: 4 kB / 0.7516 GB, free: 11.05 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 8.05e-05/5.235, allocations: 105 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/5.235, allocations: 3.906 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/5.235, allocations: 68.91 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/5.235, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/5.235, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/5.235, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/5.236, allocations: 130.2 kB / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/5.236, allocations: 7.844 kB / 0.7519 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/5.236, allocations: 20.02 kB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/5.236, allocations: 0 / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/5.236, allocations: 0 / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/5.236, allocations: 0 / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/5.236, allocations: 0 / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002523/5.236, allocations: 155.4 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003859/5.236, allocations: 0.5194 MB / 0.7526 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/5.237, allocations: 81.02 kB / 0.7527 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/5.237, allocations: 4 kB / 0.7527 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/5.237, allocations: 8.266 kB / 0.7527 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/5.237, allocations: 8 kB / 0.7527 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/5.237, allocations: 4 kB / 0.7527 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.949e-05/5.237, allocations: 87.27 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001162/5.238, allocations: 15.94 kB / 0.7528 GB, free: 9.75 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.0002799/5.238, allocations: 99.25 kB / 0.7529 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001423/5.239, allocations: 12 kB / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/5.239, allocations: 0 / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/5.239, allocations: 12 kB / 0.7529 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/5.239, allocations: 15.84 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/5.239, allocations: 55.91 kB / 0.753 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/5.24, allocations: 0.688 MB / 0.7536 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/5.24, allocations: 0 / 0.7536 GB, free: 8.809 MB / 0.6355 GB