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"}) Notification: Performance of loadModel(Buildings): time 4.158/4.158, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.143e-05, allocations: 2.969 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2139, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.12/7.334, allocations: 2.185 GB / 2.814 GB, free: 149.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/7.335, allocations: 94.14 kB / 2.814 GB, free: 149.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2367/7.571, allocations: 55.75 MB / 2.869 GB, free: 103.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.056e-06/7.571, allocations: 0 / 2.869 GB, free: 103.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001111/7.572, allocations: 27.94 kB / 2.869 GB, free: 103.1 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.003701/7.575, allocations: 1.086 MB / 2.87 GB, free: 102 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/7.575, allocations: 12.03 kB / 2.87 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/7.58, allocations: 302.5 kB / 2.87 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/7.583, allocations: 0.5516 MB / 2.871 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/7.583, allocations: 31.95 kB / 2.871 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/7.583, allocations: 48 kB / 2.871 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004097/7.587, allocations: 1.072 MB / 2.872 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/7.591, allocations: 0.755 MB / 2.873 GB, free: 99.71 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/7.591, allocations: 4 kB / 2.873 GB, free: 99.71 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/7.591, allocations: 4 kB / 2.873 GB, free: 99.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/7.591, allocations: 20 kB / 2.873 GB, free: 99.68 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/7.602, allocations: 2.325 MB / 2.875 GB, free: 97.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/7.605, allocations: 0.7322 MB / 2.876 GB, free: 97.31 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/7.606, allocations: 278.3 kB / 2.876 GB, free: 97.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/7.608, allocations: 479 kB / 2.876 GB, free: 96.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/7.609, allocations: 454.1 kB / 2.877 GB, free: 96.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 7.133e-06/7.609, allocations: 0 / 2.877 GB, free: 96.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.01328/7.623, allocations: 1.107 MB / 2.878 GB, free: 95.35 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/7.623, allocations: 217 kB / 2.878 GB, free: 95.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/7.624, allocations: 463.2 kB / 2.879 GB, free: 94.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/7.625, allocations: 31.95 kB / 2.879 GB, free: 94.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/7.625, allocations: 343.3 kB / 2.879 GB, free: 94.38 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/7.625, allocations: 244.4 kB / 2.879 GB, free: 94.13 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/7.626, allocations: 4 kB / 2.879 GB, free: 94.13 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001729/7.626, allocations: 370.7 kB / 2.88 GB, free: 93.76 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/7.627, allocations: 237.5 kB / 2.88 GB, free: 93.53 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/7.628, allocations: 334.7 kB / 2.88 GB, free: 93.17 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/7.638, allocations: 0.6484 MB / 2.881 GB, free: 92.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/7.638, allocations: 4 kB / 2.881 GB, free: 92.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.01263/7.65, allocations: 1.183 MB / 2.882 GB, free: 91.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/7.651, allocations: 63.34 kB / 2.882 GB, free: 91.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/7.651, allocations: 0 / 2.882 GB, free: 91.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/7.652, allocations: 80.84 kB / 2.882 GB, free: 91.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/7.654, allocations: 175.7 kB / 2.882 GB, free: 91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/7.658, allocations: 1.446 MB / 2.884 GB, free: 89.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/7.66, allocations: 75.55 kB / 2.884 GB, free: 89.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/7.66, allocations: 35.97 kB / 2.884 GB, free: 89.32 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.0003902/7.661, allocations: 116.9 kB / 2.884 GB, free: 89.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01258/7.673, allocations: 1.109 MB / 2.885 GB, free: 88.08 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/7.674, allocations: 63.44 kB / 2.885 GB, free: 88.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009322/7.683, allocations: 1.375 MB / 2.886 GB, free: 86.62 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/7.683, allocations: 8 kB / 2.886 GB, free: 86.62 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/7.683, allocations: 0 / 2.886 GB, free: 86.62 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/7.683, allocations: 3.984 kB / 2.886 GB, free: 86.61 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/7.693, allocations: 2.158 MB / 2.888 GB, free: 84.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/7.694, allocations: 0 / 2.888 GB, free: 84.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/7.695, allocations: 163.8 kB / 2.889 GB, free: 84.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000818/7.696, allocations: 84.77 kB / 2.889 GB, free: 84.16 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/7.696, allocations: 15.98 kB / 2.889 GB, free: 84.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/7.698, allocations: 1.484 MB / 2.89 GB, free: 82.54 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/7.698, allocations: 0 / 2.89 GB, free: 82.54 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/7.707, allocations: 1.247 MB / 2.891 GB, free: 81.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008368/7.708, allocations: 295.9 kB / 2.892 GB, free: 80.96 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/7.708, allocations: 4 kB / 2.892 GB, free: 80.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/7.709, allocations: 59.94 kB / 2.892 GB, free: 80.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/7.709, allocations: 60.69 kB / 2.892 GB, free: 80.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/7.709, allocations: 27.98 kB / 2.892 GB, free: 80.81 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006139/7.71, allocations: 382.9 kB / 2.892 GB, free: 80.44 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.71e-07/7.71, allocations: 0 / 2.892 GB, free: 80.44 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001663/7.712, allocations: 347 kB / 2.892 GB, free: 80.1 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.01093/7.723, allocations: 2.793 MB / 2.895 GB, free: 77.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002221/7.725, allocations: 0.8415 MB / 2.896 GB, free: 76.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/7.725, allocations: 4 kB / 2.896 GB, free: 76.45 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/7.726, allocations: 476.5 kB / 2.896 GB, free: 75.97 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/7.728, allocations: 165.9 kB / 2.897 GB, free: 75.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/7.734, allocations: 1.447 MB / 2.898 GB, free: 74.33 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/7.734, allocations: 1.007 MB / 2.899 GB, free: 73.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001783/7.736, allocations: 256.9 kB / 2.899 GB, free: 73.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/7.737, allocations: 327.3 kB / 2.9 GB, free: 72.72 MB / 0.823 GB Notification: Performance of SimCode: time 1.303e-06/7.737, allocations: 0 / 2.9 GB, free: 72.72 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09839/7.836, allocations: 22.21 MB / 2.921 GB, free: 50.63 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/7.836, allocations: 215.9 kB / 2.921 GB, free: 50.34 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/11.74, allocations: 0 / 2.921 GB, free: 50.34 MB / 0.823 GB