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.CheckRadiation.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.CheckRadiation,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",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.373/4.373, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2943/4.668, allocations: 104.3 MB / 0.5319 GB, free: 4.516 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/5.287, allocations: 98.7 MB / 0.6283 GB, free: 0.5352 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/5.575, allocations: 127 MB / 0.7523 GB, free: 2.074 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/5.576, allocations: 79.95 kB / 0.7524 GB, free: 1.996 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.05449/5.63, allocations: 9.843 MB / 0.762 GB, free: 8.102 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/5.631, allocations: 11.98 kB / 0.762 GB, free: 8.09 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/5.632, allocations: 71.55 kB / 0.7621 GB, free: 8.02 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/5.633, allocations: 271.7 kB / 0.7623 GB, free: 7.711 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/5.633, allocations: 12 kB / 0.7623 GB, free: 7.699 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/5.633, allocations: 8 kB / 0.7624 GB, free: 7.691 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002845/5.636, allocations: 0.7842 MB / 0.7631 GB, free: 6.906 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/5.637, allocations: 220.1 kB / 0.7633 GB, free: 6.676 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/5.637, allocations: 0 / 0.7633 GB, free: 6.676 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/5.637, allocations: 0 / 0.7633 GB, free: 6.676 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/5.637, allocations: 7.906 kB / 0.7633 GB, free: 6.668 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/5.64, allocations: 0.6022 MB / 0.7639 GB, free: 6.023 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/5.642, allocations: 328.9 kB / 0.7642 GB, free: 5.695 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/5.642, allocations: 105.4 kB / 0.7643 GB, free: 5.59 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/5.642, allocations: 20.25 kB / 0.7644 GB, free: 5.57 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006648/5.643, allocations: 183.4 kB / 0.7645 GB, free: 5.379 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=35): time 5.851e-06/5.643, allocations: 0 / 0.7645 GB, free: 5.379 MB / 0.6277 GB Notification: Performance of matching and sorting (n=35): time 0.001533/5.645, allocations: 305 kB / 0.7648 GB, free: 5.074 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/5.645, allocations: 110.8 kB / 0.7649 GB, free: 4.941 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/5.646, allocations: 255 kB / 0.7652 GB, free: 4.688 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/5.646, allocations: 25.7 kB / 0.7652 GB, free: 4.656 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/5.646, allocations: 100.8 kB / 0.7653 GB, free: 4.555 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/5.646, allocations: 114.3 kB / 0.7654 GB, free: 4.441 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/5.646, allocations: 0 / 0.7654 GB, free: 4.441 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0002043/5.647, allocations: 338.8 kB / 0.7657 GB, free: 4.102 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/5.647, allocations: 95.98 kB / 0.7658 GB, free: 4.008 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/5.648, allocations: 146.3 kB / 0.766 GB, free: 3.855 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/5.648, allocations: 119.7 kB / 0.7661 GB, free: 3.738 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/5.648, allocations: 0 / 0.7661 GB, free: 3.738 MB / 0.6277 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00174/5.65, allocations: 341.7 kB / 0.7664 GB, free: 3.398 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/5.65, allocations: 7.938 kB / 0.7664 GB, free: 3.391 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/5.65, allocations: 3.938 kB / 0.7664 GB, free: 3.387 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/5.65, allocations: 4 kB / 0.7664 GB, free: 3.383 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/5.651, allocations: 67.86 kB / 0.7665 GB, free: 3.316 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/5.651, allocations: 4.031 kB / 0.7665 GB, free: 3.312 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/5.652, allocations: 27.77 kB / 0.7665 GB, free: 3.285 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/5.652, allocations: 16 kB / 0.7665 GB, free: 3.27 MB / 0.6277 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timCon.tNext,timCon.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0002512/5.652, allocations: 104.9 kB / 0.7666 GB, free: 3.16 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/5.653, allocations: 23.72 kB / 0.7666 GB, free: 3.137 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/5.655, allocations: 456.4 kB / 0.7671 GB, free: 2.684 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/5.655, allocations: 8 kB / 0.7671 GB, free: 2.676 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/5.655, allocations: 4 kB / 0.7671 GB, free: 2.672 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/5.655, allocations: 3.984 kB / 0.7671 GB, free: 2.668 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/5.656, allocations: 321.7 kB / 0.7674 GB, free: 2.316 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/5.656, allocations: 0 / 0.7674 GB, free: 2.316 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/5.657, allocations: 63.89 kB / 0.7675 GB, free: 2.254 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/5.657, allocations: 4 kB / 0.7675 GB, free: 2.25 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/5.657, allocations: 8 kB / 0.7675 GB, free: 2.242 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/5.657, allocations: 7.906 kB / 0.7675 GB, free: 2.234 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/5.658, allocations: 0 / 0.7675 GB, free: 2.234 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00167/5.659, allocations: 337.9 kB / 0.7678 GB, free: 1.883 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001756/5.661, allocations: 0.7174 MB / 0.7685 GB, free: 1.145 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/5.662, allocations: 160.6 kB / 0.7687 GB, free: 0.9688 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/5.662, allocations: 15.83 kB / 0.7687 GB, free: 0.9531 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/5.662, allocations: 15.98 kB / 0.7687 GB, free: 0.9375 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/5.663, allocations: 23.97 kB / 0.7687 GB, free: 0.9141 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/5.663, allocations: 15.98 kB / 0.7687 GB, free: 0.8984 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0004937/5.663, allocations: 205.6 kB / 0.7689 GB, free: 0.6992 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.002371/5.666, allocations: 67.98 kB / 0.769 GB, free: 0.6328 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,timCon.tNext) * Number of discrete states: 1 (timCon.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00128/5.667, allocations: 269.6 kB / 0.7692 GB, free: 400 kB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.001247/5.668, allocations: 293.5 kB / 0.7695 GB, free: 100 kB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/5.668, allocations: 0 / 0.7695 GB, free: 100 kB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/5.669, allocations: 147.9 kB / 0.7697 GB, free: 15.95 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/5.669, allocations: 20.56 kB / 0.7697 GB, free: 15.92 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/5.671, allocations: 417.6 kB / 0.7701 GB, free: 15.49 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/5.673, allocations: 0.8276 MB / 0.7709 GB, free: 14.64 MB / 0.6433 GB Notification: Performance of SimCode: time 1.854e-06/5.673, allocations: 0 / 0.7709 GB, free: 14.64 MB / 0.6433 GB