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.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.367/4.367, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.07e-05, allocations: 1.156 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.265, allocations: 98.73 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.24/7.505, allocations: 2.185 GB / 2.814 GB, free: 150 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/7.505, allocations: 85.47 kB / 2.814 GB, free: 149.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.289/7.794, allocations: 75.65 MB / 2.888 GB, free: 85.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.746e-06/7.795, allocations: 0 / 2.888 GB, free: 85.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000122/7.795, allocations: 24 kB / 2.888 GB, free: 85.12 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003766/7.798, allocations: 1.276 MB / 2.889 GB, free: 83.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/7.799, allocations: 12.03 kB / 2.889 GB, free: 83.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/7.802, allocations: 337.7 kB / 2.89 GB, free: 83.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/7.804, allocations: 0.6415 MB / 2.89 GB, free: 82.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/7.804, allocations: 36 kB / 2.89 GB, free: 82.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/7.804, allocations: 64 kB / 2.891 GB, free: 82.86 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003418/7.808, allocations: 1.19 MB / 2.892 GB, free: 81.98 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/7.81, allocations: 0.9463 MB / 2.893 GB, free: 81.03 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/7.81, allocations: 3.938 kB / 2.893 GB, free: 81.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/7.81, allocations: 0 / 2.893 GB, free: 81.03 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/7.811, allocations: 32 kB / 2.893 GB, free: 81 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009738/7.82, allocations: 2.864 MB / 2.895 GB, free: 78.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/7.824, allocations: 0.7641 MB / 2.896 GB, free: 77.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/7.826, allocations: 283.2 kB / 2.896 GB, free: 77.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/7.827, allocations: 470.3 kB / 2.897 GB, free: 76.47 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001736/7.829, allocations: 464.5 kB / 2.897 GB, free: 75.99 MB / 0.823 GB Notification: Performance of pre-optimization done (n=78): time 6.562e-06/7.829, allocations: 0 / 2.897 GB, free: 75.99 MB / 0.823 GB Notification: Performance of matching and sorting (n=78): time 0.01356/7.843, allocations: 1.121 MB / 2.898 GB, free: 74.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/7.843, allocations: 218.3 kB / 2.899 GB, free: 74.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/7.845, allocations: 0.4985 MB / 2.899 GB, free: 74.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/7.845, allocations: 29.7 kB / 2.899 GB, free: 74.06 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006959/7.846, allocations: 471.6 kB / 2.9 GB, free: 73.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/7.846, allocations: 244.3 kB / 2.9 GB, free: 73.35 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/7.846, allocations: 0 / 2.9 GB, free: 73.35 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000248/7.847, allocations: 378.7 kB / 2.9 GB, free: 72.97 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/7.848, allocations: 249.5 kB / 2.9 GB, free: 72.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/7.849, allocations: 342.7 kB / 2.901 GB, free: 72.36 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009906/7.859, allocations: 0.6643 MB / 2.901 GB, free: 71.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/7.859, allocations: 0 / 2.901 GB, free: 71.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01317/7.872, allocations: 1.214 MB / 2.903 GB, free: 70.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.383e-05/7.872, allocations: 55.41 kB / 2.903 GB, free: 70.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/7.872, allocations: 112 / 2.903 GB, free: 70.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/7.874, allocations: 88.77 kB / 2.903 GB, free: 70.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/7.876, allocations: 163.8 kB / 2.903 GB, free: 70.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/7.88, allocations: 1.442 MB / 2.904 GB, free: 68.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/7.882, allocations: 83.47 kB / 2.904 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/7.883, allocations: 35.97 kB / 2.904 GB, free: 68.48 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 (85): * Single equations (assignments): 82 * 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.0004224/7.883, allocations: 116.8 kB / 2.905 GB, free: 68.36 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01318/7.897, allocations: 1.128 MB / 2.906 GB, free: 67.22 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/7.897, allocations: 71.16 kB / 2.906 GB, free: 67.15 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/7.911, allocations: 1.36 MB / 2.907 GB, free: 65.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/7.912, allocations: 8 kB / 2.907 GB, free: 65.76 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/7.912, allocations: 0 / 2.907 GB, free: 65.76 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/7.912, allocations: 3.984 kB / 2.907 GB, free: 65.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/7.914, allocations: 0.834 MB / 2.908 GB, free: 64.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/7.914, allocations: 3.984 kB / 2.908 GB, free: 64.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/7.917, allocations: 171.7 kB / 2.908 GB, free: 64.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/7.918, allocations: 84.77 kB / 2.908 GB, free: 64.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/7.918, allocations: 15.98 kB / 2.908 GB, free: 64.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/7.921, allocations: 1.473 MB / 2.91 GB, free: 63.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/7.922, allocations: 0 / 2.91 GB, free: 63.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/7.934, allocations: 1.211 MB / 2.911 GB, free: 61.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/7.935, allocations: 291.8 kB / 2.911 GB, free: 61.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/7.935, allocations: 4 kB / 2.911 GB, free: 61.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/7.937, allocations: 67.83 kB / 2.911 GB, free: 61.41 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/7.938, allocations: 60.7 kB / 2.911 GB, free: 61.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005267/7.938, allocations: 32.03 kB / 2.911 GB, free: 61.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001823/7.94, allocations: 402.9 kB / 2.912 GB, free: 60.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.994e-06/7.94, allocations: 3.938 kB / 2.912 GB, free: 60.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002287/7.942, allocations: 382.6 kB / 2.912 GB, free: 60.55 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.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.01122/7.954, allocations: 2.753 MB / 2.915 GB, free: 57.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002344/7.956, allocations: 0.861 MB / 2.915 GB, free: 56.92 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/7.956, allocations: 4 kB / 2.915 GB, free: 56.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/7.957, allocations: 488.5 kB / 2.916 GB, free: 56.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/7.959, allocations: 161.1 kB / 2.916 GB, free: 56.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00678/7.966, allocations: 1.662 MB / 2.918 GB, free: 54.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/7.967, allocations: 1.081 MB / 2.919 GB, free: 53.46 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001848/7.968, allocations: 273 kB / 2.919 GB, free: 53.19 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009053/7.969, allocations: 407.3 kB / 2.919 GB, free: 52.79 MB / 0.823 GB Notification: Performance of SimCode: time 1.182e-06/7.969, allocations: 0 / 2.919 GB, free: 52.79 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09247/8.062, allocations: 23.32 MB / 2.942 GB, free: 29.61 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/8.062, allocations: 195.5 kB / 2.942 GB, free: 29.35 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/12.06, allocations: 0 / 2.942 GB, free: 29.35 MB / 0.823 GB