Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.073/4.073, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5768/4.65, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/4.919, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/10.86, allocations: 2.185 GB / 2.814 GB, free: 151.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/10.86, allocations: 102.6 kB / 2.814 GB, free: 151 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.2439/11.11, allocations: 58.43 MB / 2.871 GB, free: 102.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/11.11, allocations: 8 kB / 2.871 GB, free: 102.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/11.11, allocations: 338.2 kB / 2.871 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/11.11, allocations: 0.5571 MB / 2.872 GB, free: 101.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/11.11, allocations: 24 kB / 2.872 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/11.11, allocations: 44 kB / 2.872 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004463/11.12, allocations: 1.082 MB / 2.873 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/11.12, allocations: 0.7562 MB / 2.874 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/11.12, allocations: 3.984 kB / 2.874 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/11.12, allocations: 4 kB / 2.874 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/11.12, allocations: 20 kB / 2.874 GB, free: 100 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/11.13, allocations: 2.423 MB / 2.876 GB, free: 97.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/11.14, allocations: 0.7353 MB / 2.877 GB, free: 97.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/11.14, allocations: 274.8 kB / 2.877 GB, free: 96.83 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/11.14, allocations: 482.1 kB / 2.877 GB, free: 96.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/11.14, allocations: 434.9 kB / 2.878 GB, free: 95.82 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.526e-06/11.14, allocations: 4 kB / 2.878 GB, free: 95.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.004287/11.14, allocations: 0.7926 MB / 2.879 GB, free: 95.01 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/11.14, allocations: 218.2 kB / 2.879 GB, free: 94.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/11.14, allocations: 474.1 kB / 2.879 GB, free: 94.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003107/11.15, allocations: 33.7 kB / 2.879 GB, free: 94.24 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/11.15, allocations: 280.4 kB / 2.88 GB, free: 93.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/11.15, allocations: 240.3 kB / 2.88 GB, free: 93.72 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/11.15, allocations: 4 kB / 2.88 GB, free: 93.72 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/11.15, allocations: 366.8 kB / 2.88 GB, free: 93.35 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/11.15, allocations: 241.5 kB / 2.88 GB, free: 93.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/11.15, allocations: 346.5 kB / 2.881 GB, free: 92.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/11.15, allocations: 351 kB / 2.881 GB, free: 92.41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/11.15, allocations: 0 / 2.881 GB, free: 92.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004252/11.15, allocations: 0.8513 MB / 2.882 GB, free: 91.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/11.15, allocations: 4.062 kB / 2.882 GB, free: 91.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/11.15, allocations: 4 kB / 2.882 GB, free: 91.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/11.15, allocations: 84.78 kB / 2.882 GB, free: 91.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/11.16, allocations: 167.7 kB / 2.882 GB, free: 91.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/11.16, allocations: 1.457 MB / 2.884 GB, free: 89.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/11.16, allocations: 75.58 kB / 2.884 GB, free: 89.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/11.16, allocations: 31.98 kB / 2.884 GB, free: 89.61 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 (82): * Single equations (assignments): 79 * 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.0002717/11.16, allocations: 121 kB / 2.884 GB, free: 89.48 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/11.16, allocations: 71.14 kB / 2.884 GB, free: 89.41 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/11.17, allocations: 1.096 MB / 2.885 GB, free: 88.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/11.17, allocations: 11.94 kB / 2.885 GB, free: 88.29 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/11.17, allocations: 3.938 kB / 2.885 GB, free: 88.28 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/11.17, allocations: 3.984 kB / 2.885 GB, free: 88.28 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005673/11.17, allocations: 1.841 MB / 2.887 GB, free: 86.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/11.17, allocations: 0 / 2.887 GB, free: 86.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/11.17, allocations: 163.8 kB / 2.887 GB, free: 86.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/11.18, allocations: 84.77 kB / 2.887 GB, free: 86.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/11.18, allocations: 15.98 kB / 2.887 GB, free: 86.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/11.18, allocations: 1.48 MB / 2.888 GB, free: 84.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/11.18, allocations: 0 / 2.888 GB, free: 84.52 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003864/11.18, allocations: 0.9494 MB / 2.889 GB, free: 83.55 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003864/11.19, allocations: 1.36 MB / 2.891 GB, free: 82.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/11.19, allocations: 291.9 kB / 2.891 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/11.19, allocations: 4 kB / 2.891 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/11.19, allocations: 67.92 kB / 2.891 GB, free: 81.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/11.19, allocations: 52.7 kB / 2.891 GB, free: 81.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/11.19, allocations: 35.89 kB / 2.891 GB, free: 81.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006893/11.19, allocations: 378.9 kB / 2.891 GB, free: 81.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002589/11.19, allocations: 423.1 kB / 2.892 GB, free: 80.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 (83): * Single equations (assignments): 80 * 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.002203/11.19, allocations: 1.059 MB / 2.893 GB, free: 79.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002507/11.2, allocations: 0.7869 MB / 2.894 GB, free: 79.09 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/11.2, allocations: 8.125 kB / 2.894 GB, free: 79.09 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/11.2, allocations: 476.5 kB / 2.894 GB, free: 78.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/11.2, allocations: 157.2 kB / 2.894 GB, free: 78.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/11.21, allocations: 1.32 MB / 2.896 GB, free: 77.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/11.21, allocations: 1.103 MB / 2.897 GB, free: 75.99 MB / 0.823 GB Notification: Performance of SimCode: time 1.173e-06/11.21, allocations: 0 / 2.897 GB, free: 75.99 MB / 0.823 GB