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/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.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.444/4.444, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.194e-05, allocations: 2.219 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 98.72 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.153/7.385, allocations: 2.189 GB / 2.818 GB, free: 146.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004761/7.386, allocations: 85.77 kB / 2.818 GB, free: 146.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4097/7.795, allocations: 93.62 MB / 2.909 GB, free: 63.83 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.474e-06/7.795, allocations: 0 / 2.909 GB, free: 63.83 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001288/7.796, allocations: 39.94 kB / 2.909 GB, free: 63.79 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.006596/7.802, allocations: 1.887 MB / 2.911 GB, free: 61.84 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/7.802, allocations: 12.03 kB / 2.911 GB, free: 61.83 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/7.826, allocations: 1.909 MB / 2.913 GB, free: 59.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/7.829, allocations: 0.9662 MB / 2.914 GB, free: 58.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/7.829, allocations: 60 kB / 2.914 GB, free: 58.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007381/7.83, allocations: 108 kB / 2.914 GB, free: 58.74 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008608/7.839, allocations: 2.853 MB / 2.917 GB, free: 55.88 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/7.847, allocations: 2.109 MB / 2.919 GB, free: 53.73 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/7.847, allocations: 3.938 kB / 2.919 GB, free: 53.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/7.847, allocations: 8 kB / 2.919 GB, free: 53.72 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/7.847, allocations: 47.95 kB / 2.919 GB, free: 53.68 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/7.872, allocations: 5.987 MB / 2.925 GB, free: 47.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/7.877, allocations: 1.977 MB / 2.927 GB, free: 45.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/7.88, allocations: 1.006 MB / 2.928 GB, free: 44.63 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/7.881, allocations: 0.5074 MB / 2.928 GB, free: 44.03 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003764/7.885, allocations: 1.29 MB / 2.929 GB, free: 42.71 MB / 0.823 GB Notification: Performance of pre-optimization done (n=192): time 6.302e-06/7.885, allocations: 0 / 2.929 GB, free: 42.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=192): time 0.02742/7.912, allocations: 3.815 MB / 2.933 GB, free: 38.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/7.912, allocations: 231.6 kB / 2.933 GB, free: 38.61 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/7.914, allocations: 0.6055 MB / 2.934 GB, free: 38 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007924/7.914, allocations: 33.64 kB / 2.934 GB, free: 37.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/7.915, allocations: 0.5984 MB / 2.934 GB, free: 37.35 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/7.916, allocations: 0.5963 MB / 2.935 GB, free: 36.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/7.917, allocations: 4 kB / 2.935 GB, free: 36.74 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002925/7.917, allocations: 422.7 kB / 2.935 GB, free: 36.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/7.92, allocations: 0.7889 MB / 2.936 GB, free: 35.53 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/7.922, allocations: 0.9493 MB / 2.937 GB, free: 34.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02199/7.944, allocations: 2.629 MB / 2.94 GB, free: 31.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/7.944, allocations: 0 / 2.94 GB, free: 31.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.02667/7.971, allocations: 3.932 MB / 2.944 GB, free: 27.98 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/7.971, allocations: 60.81 kB / 2.944 GB, free: 27.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/7.971, allocations: 4.062 kB / 2.944 GB, free: 27.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/7.972, allocations: 92.86 kB / 2.944 GB, free: 27.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006908/7.979, allocations: 0.5538 MB / 2.944 GB, free: 27.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/7.982, allocations: 1.461 MB / 2.946 GB, free: 25.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/7.987, allocations: 282.5 kB / 2.946 GB, free: 25.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006061/7.988, allocations: 91.89 kB / 2.946 GB, free: 25.3 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.0006998/7.988, allocations: 128.7 kB / 2.946 GB, free: 25.17 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02606/8.015, allocations: 3.819 MB / 2.95 GB, free: 21.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005966/8.015, allocations: 126.5 kB / 2.95 GB, free: 21.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02874/8.044, allocations: 4.415 MB / 2.954 GB, free: 16.78 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/8.044, allocations: 20 kB / 2.954 GB, free: 16.76 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/8.044, allocations: 0 / 2.954 GB, free: 16.76 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/8.044, allocations: 11.91 kB / 2.954 GB, free: 16.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/8.076, allocations: 6.377 MB / 2.961 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/8.076, allocations: 0 / 2.961 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006966/8.083, allocations: 0.5383 MB / 2.961 GB, free: 9.777 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/8.084, allocations: 80.78 kB / 2.961 GB, free: 9.695 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007178/8.085, allocations: 51.91 kB / 2.961 GB, free: 9.645 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/8.087, allocations: 1.484 MB / 2.963 GB, free: 8.035 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/8.087, allocations: 0 / 2.963 GB, free: 8.035 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/8.114, allocations: 3.983 MB / 2.967 GB, free: 4.031 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/8.116, allocations: 0.5414 MB / 2.967 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007214/8.117, allocations: 4 kB / 2.967 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005405/8.122, allocations: 223.7 kB / 2.967 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006945/8.123, allocations: 121.8 kB / 2.967 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004704/8.124, allocations: 83.92 kB / 2.967 GB, free: 3.043 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001071/8.125, allocations: 0.5069 MB / 2.968 GB, free: 2.539 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.81e-07/8.125, allocations: 0 / 2.968 GB, free: 2.539 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003626/8.128, allocations: 0.5646 MB / 2.969 GB, free: 1.973 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.6339/8.762, allocations: 5.532 MB / 2.974 GB, free: 257.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006997/8.769, allocations: 2.26 MB / 2.976 GB, free: 257.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/8.77, allocations: 6.188 kB / 2.976 GB, free: 257.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003813/8.773, allocations: 1.229 MB / 2.977 GB, free: 257 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/8.775, allocations: 181 kB / 2.978 GB, free: 257 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/8.787, allocations: 2.9 MB / 2.98 GB, free: 256.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/8.789, allocations: 1.337 MB / 2.982 GB, free: 255.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00648/8.795, allocations: 0.5405 MB / 2.982 GB, free: 255.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/8.798, allocations: 0.7151 MB / 2.983 GB, free: 255.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.292e-06/8.798, allocations: 1.312 kB / 2.983 GB, free: 255.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/8.934, allocations: 38.92 MB / 3.021 GB, free: 253.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/8.935, allocations: 196.9 kB / 3.021 GB, free: 253.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.7/13.63, allocations: 0 / 3.021 GB, free: 253.2 MB / 0.823 GB