Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.562/4.562, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.525e-05, allocations: 4.938 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.5309, allocations: 126.9 MB / 0.7529 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/0.5314, allocations: 83.94 kB / 0.753 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04452/0.576, allocations: 7.952 MB / 0.7607 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.576, allocations: 0 / 0.7607 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.576, allocations: 7.938 kB / 0.7607 GB, free: 1.941 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008303/0.5769, allocations: 0.5006 MB / 0.7612 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5769, allocations: 12.03 kB / 0.7612 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.5772, allocations: 43.56 kB / 0.7613 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.5776, allocations: 271.7 kB / 0.7615 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.5777, allocations: 8 kB / 0.7615 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.5777, allocations: 8 kB / 0.7615 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/0.5794, allocations: 0.7724 MB / 0.7623 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.5799, allocations: 204.1 kB / 0.7625 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5799, allocations: 0 / 0.7625 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.58, allocations: 0 / 0.7625 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.58, allocations: 11.95 kB / 0.7625 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.5815, allocations: 0.6062 MB / 0.7631 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.5823, allocations: 293.8 kB / 0.7634 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.5826, allocations: 105.4 kB / 0.7635 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.5827, allocations: 28.23 kB / 0.7635 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.5832, allocations: 179.5 kB / 0.7637 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.407e-06/0.5832, allocations: 4 kB / 0.7637 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0008696/0.5841, allocations: 289 kB / 0.7639 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.5842, allocations: 106.8 kB / 0.7641 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.5846, allocations: 251 kB / 0.7643 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.5847, allocations: 29.7 kB / 0.7643 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5848, allocations: 124.8 kB / 0.7644 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5849, allocations: 110.3 kB / 0.7645 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.585, allocations: 0 / 0.7645 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5851, allocations: 350.7 kB / 0.7649 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.5854, allocations: 91.98 kB / 0.765 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.5857, allocations: 126.3 kB / 0.7651 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5861, allocations: 123.6 kB / 0.7652 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5861, allocations: 0 / 0.7652 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009173/0.587, allocations: 365.7 kB / 0.7656 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.5871, allocations: 35.06 kB / 0.7656 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5871, allocations: 0 / 0.7656 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5871, allocations: 4 kB / 0.7656 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.5876, allocations: 67.94 kB / 0.7657 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.5876, allocations: 4 kB / 0.7657 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.5879, allocations: 19.83 kB / 0.7657 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.5879, allocations: 12 kB / 0.7657 GB, free: 12.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.5881, allocations: 109.6 kB / 0.7658 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007749/0.5888, allocations: 301.2 kB / 0.7661 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.5889, allocations: 27.67 kB / 0.7661 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5901, allocations: 404.9 kB / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/0.5902, allocations: 7.984 kB / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.5902, allocations: 4 kB / 0.7665 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5902, allocations: 7.984 kB / 0.7665 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.5907, allocations: 305.7 kB / 0.7668 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5907, allocations: 0 / 0.7668 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.5911, allocations: 59.91 kB / 0.7669 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.5912, allocations: 7.953 kB / 0.7669 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.5912, allocations: 15.98 kB / 0.7669 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.5912, allocations: 4 kB / 0.7669 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5912, allocations: 0 / 0.7669 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.592, allocations: 322.2 kB / 0.7672 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.5923, allocations: 156.7 kB / 0.7673 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.5924, allocations: 3.953 kB / 0.7673 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.5927, allocations: 27.97 kB / 0.7674 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.5928, allocations: 27.97 kB / 0.7674 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.5929, allocations: 15.98 kB / 0.7674 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002878/0.5932, allocations: 205.6 kB / 0.7676 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-07/0.5932, allocations: 0 / 0.7676 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004752/0.5937, allocations: 71.88 kB / 0.7677 GB, free: 10.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.5955, allocations: 1.067 MB / 0.7687 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.5962, allocations: 299.4 kB / 0.769 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5962, allocations: 0 / 0.769 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.5966, allocations: 135.7 kB / 0.7691 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5969, allocations: 29.42 kB / 0.7692 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.5983, allocations: 472.3 kB / 0.7696 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.5987, allocations: 0.7734 MB / 0.7704 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000661/0.5994, allocations: 159.1 kB / 0.7705 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.5996, allocations: 87.41 kB / 0.7706 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5996, allocations: 0 / 0.7706 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5371/1.137, allocations: 5.211 MB / 0.7757 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/1.137, allocations: 213.7 kB / 0.7759 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.771, allocations: 0 / 0.7759 GB, free: 1.906 MB / 0.6511 GB