Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.075/4.075, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6018/4.677, allocations: 104.3 MB / 0.5319 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/4.919, allocations: 98.72 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/10.64, allocations: 2.186 GB / 2.814 GB, free: 160.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004534/10.64, allocations: 88.83 kB / 2.814 GB, free: 160.8 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.369/11.01, allocations: 92.84 MB / 2.905 GB, free: 79.32 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/11.01, allocations: 8 kB / 2.905 GB, free: 79.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/11.01, allocations: 381.7 kB / 2.905 GB, free: 78.94 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/11.02, allocations: 0.7132 MB / 2.906 GB, free: 78.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/11.02, allocations: 44 kB / 2.906 GB, free: 78.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/11.02, allocations: 84 kB / 2.906 GB, free: 78.06 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004289/11.02, allocations: 1.426 MB / 2.908 GB, free: 76.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/11.02, allocations: 1.169 MB / 2.909 GB, free: 75.41 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/11.02, allocations: 0 / 2.909 GB, free: 75.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/11.03, allocations: 7.984 kB / 2.909 GB, free: 75.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/11.03, allocations: 32 kB / 2.909 GB, free: 75.37 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/11.04, allocations: 3.826 MB / 2.912 GB, free: 71.39 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/11.04, allocations: 0.9221 MB / 2.913 GB, free: 70.46 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/11.04, allocations: 379.8 kB / 2.914 GB, free: 70.09 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/11.04, allocations: 490.4 kB / 2.914 GB, free: 69.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002151/11.04, allocations: 0.5736 MB / 2.915 GB, free: 68.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 5.58e-06/11.04, allocations: 0 / 2.915 GB, free: 68.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=104): time 0.005063/11.05, allocations: 1.026 MB / 2.916 GB, free: 67.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/11.05, allocations: 222.6 kB / 2.916 GB, free: 67.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/11.05, allocations: 0.5661 MB / 2.916 GB, free: 67.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003672/11.05, allocations: 29.7 kB / 2.917 GB, free: 67.01 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/11.05, allocations: 463.5 kB / 2.917 GB, free: 66.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/11.05, allocations: 331 kB / 2.917 GB, free: 66.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/11.05, allocations: 0 / 2.917 GB, free: 66.22 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001484/11.05, allocations: 382.8 kB / 2.918 GB, free: 65.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/11.05, allocations: 341.9 kB / 2.918 GB, free: 65.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/11.05, allocations: 456.6 kB / 2.918 GB, free: 65.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/11.06, allocations: 478.7 kB / 2.919 GB, free: 64.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/11.06, allocations: 0 / 2.919 GB, free: 64.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005211/11.06, allocations: 1.128 MB / 2.92 GB, free: 63.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/11.06, allocations: 8 kB / 2.92 GB, free: 63.42 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/11.06, allocations: 4.062 kB / 2.92 GB, free: 63.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/11.06, allocations: 88.67 kB / 2.92 GB, free: 63.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/11.06, allocations: 227.7 kB / 2.92 GB, free: 63.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/11.07, allocations: 1.469 MB / 2.922 GB, free: 61.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/11.07, allocations: 91.28 kB / 2.922 GB, free: 61.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/11.07, allocations: 47.95 kB / 2.922 GB, free: 61.38 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (118): * Single equations (assignments): 115 * 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.0003647/11.07, allocations: 124.7 kB / 2.922 GB, free: 61.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/11.07, allocations: 86.97 kB / 2.922 GB, free: 61.16 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/11.08, allocations: 1.447 MB / 2.923 GB, free: 59.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/11.08, allocations: 12 kB / 2.923 GB, free: 59.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/11.08, allocations: 3.984 kB / 2.923 GB, free: 59.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/11.08, allocations: 3.984 kB / 2.923 GB, free: 59.68 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007675/11.09, allocations: 2.484 MB / 2.926 GB, free: 57.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/11.09, allocations: 4 kB / 2.926 GB, free: 57.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/11.09, allocations: 207.7 kB / 2.926 GB, free: 56.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009882/11.09, allocations: 80.78 kB / 2.926 GB, free: 56.86 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/11.09, allocations: 23.89 kB / 2.926 GB, free: 56.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/11.09, allocations: 1.488 MB / 2.928 GB, free: 55.22 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/11.09, allocations: 0 / 2.928 GB, free: 55.22 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004775/11.1, allocations: 1.17 MB / 2.929 GB, free: 54.03 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004731/11.1, allocations: 1.588 MB / 2.93 GB, free: 52.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/11.1, allocations: 363.4 kB / 2.931 GB, free: 52.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/11.1, allocations: 4 kB / 2.931 GB, free: 52.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/11.1, allocations: 71.98 kB / 2.931 GB, free: 51.97 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/11.1, allocations: 60.91 kB / 2.931 GB, free: 51.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/11.11, allocations: 43.97 kB / 2.931 GB, free: 51.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000978/11.11, allocations: 491.1 kB / 2.931 GB, free: 51.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003273/11.11, allocations: 0.514 MB / 2.932 GB, free: 50.88 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 (111): * Single equations (assignments): 108 * 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.002677/11.11, allocations: 1.052 MB / 2.933 GB, free: 49.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003537/11.12, allocations: 1.033 MB / 2.934 GB, free: 48.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/11.12, allocations: 4 kB / 2.934 GB, free: 48.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/11.12, allocations: 0.5794 MB / 2.934 GB, free: 48.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/11.12, allocations: 166.6 kB / 2.935 GB, free: 48.06 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/11.13, allocations: 1.797 MB / 2.936 GB, free: 46.22 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/11.13, allocations: 1.308 MB / 2.938 GB, free: 44.89 MB / 0.823 GB Notification: Performance of SimCode: time 1.864e-06/11.13, allocations: 0 / 2.938 GB, free: 44.89 MB / 0.823 GB