Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.151/4.151, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5712/4.722, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/4.991, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/5.273, allocations: 124.1 MB / 0.7495 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/5.274, allocations: 79.59 kB / 0.7496 GB, free: 13.42 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.002675/5.276, allocations: 0.6989 MB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/5.276, allocations: 12 kB / 0.7502 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/5.276, allocations: 7.969 kB / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/5.277, allocations: 163.1 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/5.277, allocations: 7.906 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/5.277, allocations: 0 / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.194e-05/5.277, allocations: 7.938 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/5.277, allocations: 29.7 kB / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/5.277, allocations: 4 kB / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/5.277, allocations: 0 / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/5.277, allocations: 0 / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/5.277, allocations: 225.5 kB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/5.277, allocations: 18.58 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/5.277, allocations: 16.86 kB / 0.7507 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/5.277, allocations: 4 kB / 0.7507 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/5.277, allocations: 34.56 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/5.277, allocations: 0 / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/5.278, allocations: 33.69 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/5.278, allocations: 51.41 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/5.278, allocations: 93 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/5.278, allocations: 25.7 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/5.278, allocations: 92.08 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/5.278, allocations: 3.938 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/5.278, allocations: 0 / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001295/5.278, allocations: 322.7 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/5.278, allocations: 4 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/5.278, allocations: 0 / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/5.278, allocations: 4 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/5.278, allocations: 0 / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.306e-05/5.278, allocations: 45.58 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/5.278, allocations: 8.094 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/5.278, allocations: 0 / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/5.278, allocations: 0 / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/5.278, allocations: 4 kB / 0.7514 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/5.278, allocations: 3.938 kB / 0.7514 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/5.278, allocations: 3.906 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/5.278, allocations: 0 / 0.7514 GB, free: 11.32 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.713e-05/5.279, allocations: 109 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/5.279, allocations: 0 / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/5.279, allocations: 7.312 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/5.279, allocations: 0 / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/5.279, allocations: 0 / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/5.279, allocations: 3.906 kB / 0.7515 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/5.279, allocations: 134.2 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/5.279, allocations: 0 / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/5.279, allocations: 4 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/5.279, allocations: 0 / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/5.279, allocations: 0 / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/5.279, allocations: 4 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/5.279, allocations: 3.938 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001231/5.279, allocations: 139.5 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002379/5.279, allocations: 0.4999 MB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/5.279, allocations: 81.28 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/5.279, allocations: 4.062 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/5.279, allocations: 0 / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/5.279, allocations: 7.984 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/5.28, allocations: 0 / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.987e-05/5.28, allocations: 83.28 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001076/5.281, allocations: 3.906 kB / 0.7525 GB, free: 10.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.0001317/5.281, allocations: 103.2 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.345e-05/5.281, allocations: 11.98 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/5.281, allocations: 4.062 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/5.281, allocations: 8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/5.281, allocations: 0 / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/5.281, allocations: 51.88 kB / 0.7526 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/5.282, allocations: 0.688 MB / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/5.282, allocations: 3.938 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB