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.DiffusePerez.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.392e-05, allocations: 3.453 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.249, allocations: 98.73 MB / 0.6347 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.442/7.691, allocations: 2.189 GB / 2.824 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/7.692, allocations: 86.72 kB / 2.824 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3881/8.08, allocations: 94.51 MB / 2.916 GB, free: 28.12 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.415e-06/8.08, allocations: 0 / 2.916 GB, free: 28.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001472/8.08, allocations: 40 kB / 2.916 GB, free: 28.08 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.007255/8.087, allocations: 1.895 MB / 2.918 GB, free: 26.12 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/8.087, allocations: 8.031 kB / 2.918 GB, free: 26.11 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009812/8.088, allocations: 266 kB / 2.919 GB, free: 25.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02384/8.112, allocations: 1.913 MB / 2.92 GB, free: 23.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/8.116, allocations: 0.9662 MB / 2.921 GB, free: 22.92 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/8.116, allocations: 139.8 kB / 2.921 GB, free: 22.78 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/8.117, allocations: 180 kB / 2.922 GB, free: 22.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008261/8.125, allocations: 2.375 MB / 2.924 GB, free: 20.19 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/8.125, allocations: 0 / 2.924 GB, free: 20.19 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004838/8.126, allocations: 76 kB / 2.924 GB, free: 20.12 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/8.126, allocations: 48 kB / 2.924 GB, free: 20.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/8.136, allocations: 2.95 MB / 2.927 GB, free: 17.12 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/8.161, allocations: 6.298 MB / 2.933 GB, free: 10.74 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006546/8.168, allocations: 2.081 MB / 2.935 GB, free: 8.641 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/8.171, allocations: 1.064 MB / 2.936 GB, free: 7.582 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/8.172, allocations: 0.5035 MB / 2.937 GB, free: 6.984 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004315/8.177, allocations: 1.349 MB / 2.938 GB, free: 5.613 MB / 0.823 GB Notification: Performance of pre-optimization done (n=192): time 6.612e-06/8.177, allocations: 0 / 2.938 GB, free: 5.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=192): time 0.008791/8.186, allocations: 2.113 MB / 2.94 GB, free: 3.488 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/8.186, allocations: 231.6 kB / 2.94 GB, free: 3.215 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/8.187, allocations: 0.7037 MB / 2.941 GB, free: 2.504 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008165/8.188, allocations: 65.64 kB / 2.941 GB, free: 2.434 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/8.189, allocations: 0.5947 MB / 2.942 GB, free: 1.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/8.19, allocations: 0.6236 MB / 2.942 GB, free: 1.195 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/8.19, allocations: 28 kB / 2.942 GB, free: 1.168 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003015/8.191, allocations: 426.7 kB / 2.943 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6471/8.838, allocations: 0.8227 MB / 2.943 GB, free: 252.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00388/8.842, allocations: 0.9946 MB / 2.944 GB, free: 252.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/8.846, allocations: 0.9062 MB / 2.945 GB, free: 252.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/8.846, allocations: 0 / 2.945 GB, free: 252.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01083/8.856, allocations: 2.292 MB / 2.948 GB, free: 252.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/8.857, allocations: 61.05 kB / 2.948 GB, free: 252.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/8.857, allocations: 2.125 kB / 2.948 GB, free: 252.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/8.858, allocations: 87.06 kB / 2.948 GB, free: 252.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0076/8.865, allocations: 0.5604 MB / 2.948 GB, free: 252.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/8.868, allocations: 1.519 MB / 2.95 GB, free: 251.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005814/8.874, allocations: 327.2 kB / 2.95 GB, free: 251.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/8.875, allocations: 89.62 kB / 2.95 GB, free: 251.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (205): * Single equations (assignments): 202 * 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.0009543/8.876, allocations: 198.9 kB / 2.95 GB, free: 251 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/8.877, allocations: 131.5 kB / 2.95 GB, free: 251 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/8.891, allocations: 2.761 MB / 2.953 GB, free: 250.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/8.891, allocations: 20.16 kB / 2.953 GB, free: 250.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/8.891, allocations: 5.516 kB / 2.953 GB, free: 250.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.749e-05/8.891, allocations: 11.8 kB / 2.953 GB, free: 250.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/8.91, allocations: 4.914 MB / 2.958 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/8.91, allocations: 0 / 2.958 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0074/8.918, allocations: 0.539 MB / 2.958 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/8.919, allocations: 85.95 kB / 2.959 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008426/8.92, allocations: 74.72 kB / 2.959 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/8.922, allocations: 1.539 MB / 2.96 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/8.922, allocations: 1 kB / 2.96 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/8.933, allocations: 2.298 MB / 2.962 GB, free: 248.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/8.935, allocations: 0.5408 MB / 2.963 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009666/8.936, allocations: 37.98 kB / 2.963 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005862/8.942, allocations: 251.6 kB / 2.963 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/8.943, allocations: 123.2 kB / 2.963 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006269/8.943, allocations: 83.81 kB / 2.963 GB, free: 248.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001646/8.945, allocations: 0.6018 MB / 2.964 GB, free: 248.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.11e-07/8.945, allocations: 0 / 2.964 GB, free: 248.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004379/8.95, allocations: 0.6254 MB / 2.965 GB, free: 248.5 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 (202): * Single equations (assignments): 199 * 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.01404/8.964, allocations: 3.845 MB / 2.968 GB, free: 247.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008469/8.972, allocations: 2.342 MB / 2.971 GB, free: 247.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/8.972, allocations: 0 / 2.971 GB, free: 247.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004606/8.977, allocations: 1.284 MB / 2.972 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/8.98, allocations: 221.6 kB / 2.972 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/8.993, allocations: 3.068 MB / 2.975 GB, free: 246.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/8.994, allocations: 1.337 MB / 2.976 GB, free: 245.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007358/9.001, allocations: 0.5561 MB / 2.977 GB, free: 245.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/9.005, allocations: 0.7074 MB / 2.978 GB, free: 245.8 MB / 0.823 GB Notification: Performance of SimCode: time 3.066e-06/9.005, allocations: 0 / 2.978 GB, free: 245.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/9.134, allocations: 47.03 MB / 3.024 GB, free: 237 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/9.134, allocations: 254 kB / 3.024 GB, free: 236.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.691/13.82, allocations: 0 / 3.024 GB, free: 236.7 MB / 0.823 GB