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.CheckWindSpeed.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.CheckWindSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.422/4.422, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.335e-05, allocations: 4.875 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.519, allocations: 126.4 MB / 0.7523 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004626/0.5195, allocations: 83.94 kB / 0.7524 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05248/0.572, allocations: 7.469 MB / 0.7597 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.252e-06/0.5721, allocations: 0 / 0.7597 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.5721, allocations: 7.938 kB / 0.7597 GB, free: 2.996 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001218/0.5734, allocations: 0.4964 MB / 0.7602 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.5735, allocations: 8.031 kB / 0.7602 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000686/0.5742, allocations: 47.64 kB / 0.7602 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.5749, allocations: 270.3 kB / 0.7605 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.575, allocations: 8 kB / 0.7605 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.5751, allocations: 8 kB / 0.7605 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002563/0.5777, allocations: 0.7647 MB / 0.7613 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.5785, allocations: 195.9 kB / 0.7614 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.5786, allocations: 4 kB / 0.7614 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.5786, allocations: 0 / 0.7614 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5787, allocations: 8 kB / 0.7615 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.5806, allocations: 0.5439 MB / 0.762 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.5819, allocations: 304.1 kB / 0.7623 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.5824, allocations: 101.4 kB / 0.7624 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.5825, allocations: 28.25 kB / 0.7624 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006676/0.5832, allocations: 165.8 kB / 0.7626 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.292e-05/0.5833, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.001369/0.5847, allocations: 309 kB / 0.7628 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.5848, allocations: 110.8 kB / 0.763 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.5855, allocations: 242 kB / 0.7632 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.034e-05/0.5856, allocations: 25.7 kB / 0.7632 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5857, allocations: 120.9 kB / 0.7633 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.586, allocations: 114.3 kB / 0.7634 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.586, allocations: 0 / 0.7634 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.5863, allocations: 338.8 kB / 0.7638 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.5867, allocations: 95.98 kB / 0.7638 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.5872, allocations: 126.5 kB / 0.764 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.5878, allocations: 116.7 kB / 0.7641 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5878, allocations: 4.031 kB / 0.7641 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001509/0.5893, allocations: 377 kB / 0.7644 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.5894, allocations: 33.7 kB / 0.7645 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5895, allocations: 0 / 0.7645 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.5895, allocations: 4 kB / 0.7645 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.5903, allocations: 67.84 kB / 0.7645 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.5904, allocations: 7.938 kB / 0.7646 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.5909, allocations: 19.83 kB / 0.7646 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.591, allocations: 16 kB / 0.7646 GB, free: 13.73 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 (36): * Single equations (assignments): 35 * 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.0002286/0.5912, allocations: 109.6 kB / 0.7647 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001352/0.5926, allocations: 297.1 kB / 0.765 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5928, allocations: 23.72 kB / 0.765 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5949, allocations: 413.6 kB / 0.7654 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.5949, allocations: 4 kB / 0.7654 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.595, allocations: 4 kB / 0.7654 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.595, allocations: 3.984 kB / 0.7654 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.5958, allocations: 293.8 kB / 0.7657 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5959, allocations: 0 / 0.7657 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.5966, allocations: 67.89 kB / 0.7657 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.5966, allocations: 0 / 0.7657 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.5967, allocations: 8 kB / 0.7658 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.5967, allocations: 3.953 kB / 0.7658 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5967, allocations: 4 kB / 0.7658 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.5981, allocations: 337.9 kB / 0.7661 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.5985, allocations: 164.5 kB / 0.7662 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/0.5987, allocations: 0 / 0.7662 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.5991, allocations: 11.98 kB / 0.7663 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.5993, allocations: 31.92 kB / 0.7663 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.5994, allocations: 15.98 kB / 0.7663 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000442/0.5998, allocations: 196.7 kB / 0.7665 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.51e-07/0.5998, allocations: 0 / 0.7665 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007793/0.6006, allocations: 67.94 kB / 0.7666 GB, free: 11.62 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 (34): * Single equations (assignments): 33 * 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.002925/0.6036, allocations: 1.052 MB / 0.7676 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.6048, allocations: 299.8 kB / 0.7679 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.6049, allocations: 4 kB / 0.7679 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.6055, allocations: 131.8 kB / 0.768 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.6059, allocations: 21.64 kB / 0.768 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.6081, allocations: 466.6 kB / 0.7685 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.6087, allocations: 0.7575 MB / 0.7692 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001168/0.6099, allocations: 161.8 kB / 0.7694 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.6104, allocations: 91.39 kB / 0.7694 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.154e-06/0.6104, allocations: 0 / 0.7694 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3856/0.996, allocations: 4.779 MB / 0.7741 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/0.9964, allocations: 198.9 kB / 0.7743 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.003, allocations: 0 / 0.7743 GB, free: 3.547 MB / 0.6511 GB