Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.21/4.21, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.297e-05, allocations: 3.062 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 98.73 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.755, allocations: 2.184 GB / 2.813 GB, free: 150.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/7.756, allocations: 85.83 kB / 2.813 GB, free: 150.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4485/8.204, allocations: 85.8 MB / 2.897 GB, free: 75.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.326e-06/8.204, allocations: 0 / 2.897 GB, free: 75.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000255/8.205, allocations: 39.94 kB / 2.897 GB, free: 75.57 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00747/8.212, allocations: 1.717 MB / 2.899 GB, free: 73.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/8.212, allocations: 8.031 kB / 2.899 GB, free: 73.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/8.24, allocations: 1.067 MB / 2.9 GB, free: 72.69 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004024/8.244, allocations: 0.9044 MB / 2.901 GB, free: 71.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/8.244, allocations: 44 kB / 2.901 GB, free: 71.68 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/8.245, allocations: 79.94 kB / 2.901 GB, free: 71.61 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008395/8.253, allocations: 2.124 MB / 2.903 GB, free: 69.48 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/8.26, allocations: 1.416 MB / 2.904 GB, free: 67.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/8.26, allocations: 3.938 kB / 2.904 GB, free: 67.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/8.261, allocations: 4 kB / 2.904 GB, free: 67.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/8.261, allocations: 32 kB / 2.904 GB, free: 67.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/8.288, allocations: 4.767 MB / 2.909 GB, free: 63.09 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/8.293, allocations: 1.506 MB / 2.91 GB, free: 61.56 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/8.295, allocations: 0.5478 MB / 2.911 GB, free: 61.01 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/8.297, allocations: 0.4909 MB / 2.911 GB, free: 60.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003455/8.301, allocations: 0.8809 MB / 2.912 GB, free: 59.52 MB / 0.823 GB Notification: Performance of pre-optimization done (n=137): time 8.627e-06/8.301, allocations: 0 / 2.912 GB, free: 59.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=137): time 0.02503/8.326, allocations: 2.204 MB / 2.914 GB, free: 57.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/8.326, allocations: 406.7 kB / 2.915 GB, free: 56.81 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/8.328, allocations: 0.8106 MB / 2.916 GB, free: 55.98 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006483/8.329, allocations: 29.7 kB / 2.916 GB, free: 55.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007806/8.33, allocations: 0.536 MB / 2.916 GB, free: 55.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/8.331, allocations: 441.4 kB / 2.917 GB, free: 54.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/8.331, allocations: 0 / 2.917 GB, free: 54.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000154/8.331, allocations: 353.9 kB / 2.917 GB, free: 54.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/8.333, allocations: 494.5 kB / 2.917 GB, free: 54.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/8.336, allocations: 0.6807 MB / 2.918 GB, free: 53.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/8.355, allocations: 1.32 MB / 2.919 GB, free: 52.06 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/8.355, allocations: 0 / 2.919 GB, free: 52.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.02514/8.38, allocations: 2.377 MB / 2.922 GB, free: 49.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/8.38, allocations: 115.7 kB / 2.922 GB, free: 49.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/8.38, allocations: 4.188 kB / 2.922 GB, free: 49.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/8.383, allocations: 165.5 kB / 2.922 GB, free: 49.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007945/8.391, allocations: 447.3 kB / 2.922 GB, free: 48.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/8.397, allocations: 2.922 MB / 2.925 GB, free: 45.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007454/8.405, allocations: 254.8 kB / 2.926 GB, free: 45.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006941/8.406, allocations: 80.14 kB / 2.926 GB, free: 45.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim1.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008117/8.407, allocations: 140.5 kB / 2.926 GB, free: 45.29 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02497/8.432, allocations: 2.202 MB / 2.928 GB, free: 43.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/8.433, allocations: 134.4 kB / 2.928 GB, free: 42.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02574/8.459, allocations: 2.729 MB / 2.931 GB, free: 40.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/8.459, allocations: 16 kB / 2.931 GB, free: 40.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/8.459, allocations: 7.953 kB / 2.931 GB, free: 40.16 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/8.459, allocations: 3.984 kB / 2.931 GB, free: 40.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/8.462, allocations: 1.43 MB / 2.932 GB, free: 38.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/8.462, allocations: 3.953 kB / 2.932 GB, free: 38.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005985/8.468, allocations: 443.3 kB / 2.933 GB, free: 38.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/8.47, allocations: 161.5 kB / 2.933 GB, free: 38.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/8.47, allocations: 47.94 kB / 2.933 GB, free: 38.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/8.475, allocations: 2.981 MB / 2.936 GB, free: 34.82 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/8.475, allocations: 0 / 2.936 GB, free: 34.82 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/8.493, allocations: 2.38 MB / 2.938 GB, free: 32.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/8.495, allocations: 0.5029 MB / 2.938 GB, free: 31.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/8.495, allocations: 7.953 kB / 2.938 GB, free: 31.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0055/8.501, allocations: 231.7 kB / 2.939 GB, free: 31.65 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/8.501, allocations: 113.4 kB / 2.939 GB, free: 31.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/8.502, allocations: 79.86 kB / 2.939 GB, free: 31.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001218/8.503, allocations: 0.6419 MB / 2.939 GB, free: 30.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.71e-07/8.503, allocations: 0 / 2.939 GB, free: 30.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002665/8.506, allocations: 0.5337 MB / 2.94 GB, free: 30.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02039/8.526, allocations: 4.215 MB / 2.944 GB, free: 26.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004343/8.53, allocations: 1.728 MB / 2.946 GB, free: 24.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/8.53, allocations: 0 / 2.946 GB, free: 24.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/8.533, allocations: 0.9541 MB / 2.947 GB, free: 23.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/8.535, allocations: 313.4 kB / 2.947 GB, free: 23.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/8.547, allocations: 2.713 MB / 2.95 GB, free: 20.26 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/8.548, allocations: 1.269 MB / 2.951 GB, free: 18.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004187/8.552, allocations: 0.5788 MB / 2.951 GB, free: 18.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/8.554, allocations: 0.6124 MB / 2.952 GB, free: 17.76 MB / 0.823 GB Notification: Performance of SimCode: time 1.432e-06/8.554, allocations: 0 / 2.952 GB, free: 17.76 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7119/9.266, allocations: 37.88 MB / 2.989 GB, free: 251.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/9.266, allocations: 192.2 kB / 2.989 GB, free: 251.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.296/13.56, allocations: 0 / 2.989 GB, free: 251.3 MB / 0.823 GB