Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.483/4.483, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6057/5.089, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/5.317, allocations: 98.71 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/11.18, allocations: 2.187 GB / 2.815 GB, free: 160.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/11.19, allocations: 88.7 kB / 2.815 GB, free: 160 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.38/11.57, allocations: 82.48 MB / 2.896 GB, free: 88.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/11.57, allocations: 8 kB / 2.896 GB, free: 88.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/11.57, allocations: 369.8 kB / 2.896 GB, free: 88.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/11.57, allocations: 0.6976 MB / 2.897 GB, free: 87.74 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/11.57, allocations: 84.06 kB / 2.897 GB, free: 87.65 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/11.57, allocations: 68 kB / 2.897 GB, free: 87.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003677/11.58, allocations: 1.324 MB / 2.898 GB, free: 86.26 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/11.58, allocations: 1.055 MB / 2.899 GB, free: 85.15 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/11.58, allocations: 0 / 2.899 GB, free: 85.15 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/11.58, allocations: 3.906 kB / 2.899 GB, free: 85.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/11.58, allocations: 28 kB / 2.9 GB, free: 85.12 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/11.59, allocations: 3.453 MB / 2.903 GB, free: 81.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/11.59, allocations: 0.8687 MB / 2.904 GB, free: 80.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/11.59, allocations: 355.1 kB / 2.904 GB, free: 80.33 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/11.59, allocations: 482.2 kB / 2.905 GB, free: 79.77 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/11.6, allocations: 0.5279 MB / 2.905 GB, free: 79.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=93): time 4.138e-06/11.6, allocations: 0 / 2.905 GB, free: 79.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=93): time 0.004566/11.6, allocations: 0.963 MB / 2.906 GB, free: 78.24 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/11.6, allocations: 218.4 kB / 2.906 GB, free: 77.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/11.6, allocations: 0.5582 MB / 2.907 GB, free: 77.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/11.6, allocations: 29.7 kB / 2.907 GB, free: 77.38 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/11.6, allocations: 411.9 kB / 2.907 GB, free: 76.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/11.6, allocations: 287.6 kB / 2.907 GB, free: 76.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/11.6, allocations: 0 / 2.907 GB, free: 76.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001398/11.6, allocations: 386.8 kB / 2.908 GB, free: 76.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/11.6, allocations: 306 kB / 2.908 GB, free: 76 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/11.6, allocations: 437.4 kB / 2.909 GB, free: 75.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/11.61, allocations: 450.6 kB / 2.909 GB, free: 75.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/11.61, allocations: 0 / 2.909 GB, free: 75.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004425/11.61, allocations: 1.054 MB / 2.91 GB, free: 74.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/11.61, allocations: 4 kB / 2.91 GB, free: 74.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/11.61, allocations: 0 / 2.91 GB, free: 74.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/11.61, allocations: 84.84 kB / 2.91 GB, free: 73.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/11.61, allocations: 203.7 kB / 2.91 GB, free: 73.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/11.62, allocations: 1.469 MB / 2.912 GB, free: 72.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/11.62, allocations: 91.33 kB / 2.912 GB, free: 72.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/11.62, allocations: 39.97 kB / 2.912 GB, free: 72.02 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003553/11.62, allocations: 116.9 kB / 2.912 GB, free: 71.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/11.62, allocations: 86.91 kB / 2.912 GB, free: 71.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007271/11.63, allocations: 1.349 MB / 2.913 GB, free: 70.45 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/11.63, allocations: 12 kB / 2.913 GB, free: 70.44 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/11.63, allocations: 4 kB / 2.913 GB, free: 70.43 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/11.63, allocations: 7.922 kB / 2.913 GB, free: 70.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007508/11.63, allocations: 2.348 MB / 2.916 GB, free: 68.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/11.64, allocations: 0 / 2.916 GB, free: 68.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/11.64, allocations: 191.8 kB / 2.916 GB, free: 67.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009588/11.64, allocations: 88.77 kB / 2.916 GB, free: 67.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/11.64, allocations: 23.97 kB / 2.916 GB, free: 67.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/11.64, allocations: 1.484 MB / 2.917 GB, free: 66.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/11.64, allocations: 0 / 2.917 GB, free: 66.12 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004448/11.65, allocations: 1.123 MB / 2.918 GB, free: 64.98 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004723/11.65, allocations: 1.537 MB / 2.92 GB, free: 63.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/11.65, allocations: 347.6 kB / 2.92 GB, free: 63.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/11.65, allocations: 8 kB / 2.92 GB, free: 63.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/11.65, allocations: 75.86 kB / 2.92 GB, free: 62.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/11.65, allocations: 64.89 kB / 2.92 GB, free: 62.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/11.65, allocations: 35.98 kB / 2.92 GB, free: 62.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0008884/11.65, allocations: 471.1 kB / 2.921 GB, free: 62.42 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002984/11.66, allocations: 498.5 kB / 2.921 GB, free: 61.93 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/11.66, allocations: 1.057 MB / 2.922 GB, free: 60.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00294/11.66, allocations: 0.9706 MB / 2.923 GB, free: 59.93 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/11.66, allocations: 1.031 kB / 2.923 GB, free: 59.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/11.66, allocations: 0.5484 MB / 2.924 GB, free: 59.37 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/11.67, allocations: 158.8 kB / 2.924 GB, free: 59.22 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/11.68, allocations: 1.668 MB / 2.926 GB, free: 57.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003997/11.68, allocations: 1.253 MB / 2.927 GB, free: 56.23 MB / 0.823 GB Notification: Performance of SimCode: time 2.214e-06/11.68, allocations: 0 / 2.927 GB, free: 56.23 MB / 0.823 GB