Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",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.107/4.107, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5731/4.68, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/4.898, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/5.166, allocations: 123 MB / 0.7484 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/5.166, allocations: 79.58 kB / 0.7485 GB, free: 14.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00298/5.169, allocations: 0.5415 MB / 0.749 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/5.169, allocations: 8 kB / 0.7491 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/5.169, allocations: 23.88 kB / 0.7491 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/5.17, allocations: 163 kB / 0.7492 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/5.17, allocations: 0 / 0.7492 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/5.17, allocations: 3.984 kB / 0.7492 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.756e-05/5.17, allocations: 4 kB / 0.7492 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.301e-05/5.17, allocations: 25.7 kB / 0.7493 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/5.17, allocations: 0 / 0.7493 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/5.17, allocations: 0 / 0.7493 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/5.17, allocations: 3.906 kB / 0.7493 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/5.17, allocations: 138.2 kB / 0.7494 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.27e-05/5.17, allocations: 14.58 kB / 0.7494 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/5.17, allocations: 8.859 kB / 0.7494 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/5.17, allocations: 8.031 kB / 0.7494 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/5.17, allocations: 30.56 kB / 0.7495 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/5.17, allocations: 0 / 0.7495 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/5.17, allocations: 33.69 kB / 0.7495 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/5.17, allocations: 55.44 kB / 0.7495 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/5.17, allocations: 85 kB / 0.7496 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/5.171, allocations: 25.7 kB / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/5.171, allocations: 80.14 kB / 0.7497 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/5.171, allocations: 3.906 kB / 0.7497 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/5.171, allocations: 0 / 0.7497 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001322/5.171, allocations: 314.8 kB / 0.75 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/5.171, allocations: 4 kB / 0.75 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/5.171, allocations: 4 kB / 0.75 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/5.171, allocations: 0 / 0.75 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.171, allocations: 4 kB / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.671e-05/5.171, allocations: 41.56 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/5.171, allocations: 4 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/5.171, allocations: 3.938 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/5.171, allocations: 0 / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/5.171, allocations: 4 kB / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/5.171, allocations: 7.891 kB / 0.7501 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/5.171, allocations: 12.08 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/5.171, allocations: 0 / 0.7501 GB, free: 12.7 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 (1): * Single equations (assignments): 1 * 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.687e-05/5.171, allocations: 101 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/5.171, allocations: 0 / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/5.171, allocations: 3 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/5.171, allocations: 0 / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/5.171, allocations: 8 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/5.171, allocations: 3.906 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/5.172, allocations: 130.2 kB / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/5.172, allocations: 0 / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/5.172, allocations: 4 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/5.172, allocations: 0 / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/5.172, allocations: 0 / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/5.172, allocations: 0 / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/5.172, allocations: 0 / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001014/5.172, allocations: 68.97 kB / 0.7504 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002309/5.172, allocations: 437.6 kB / 0.7508 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/5.172, allocations: 81.11 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/5.172, allocations: 3.906 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/5.172, allocations: 0 / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/5.172, allocations: 7.969 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/5.172, allocations: 0 / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.447e-05/5.172, allocations: 83.31 kB / 0.751 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001036/5.173, allocations: 0 / 0.751 GB, free: 11.69 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 (1): * Single equations (assignments): 1 * 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.0001823/5.174, allocations: 99.25 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.315e-05/5.174, allocations: 3.938 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/5.174, allocations: 4 kB / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/5.174, allocations: 0 / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/5.174, allocations: 0 / 0.7511 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/5.174, allocations: 60.12 kB / 0.7512 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/5.175, allocations: 0.6802 MB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/5.175, allocations: 4 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB