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.CheckWindDirection.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.CheckWindDirection,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.487/4.487, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.359e-05, allocations: 4.719 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/0.4585, allocations: 127.2 MB / 0.7531 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/0.4589, allocations: 83.94 kB / 0.7532 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03665/0.4956, allocations: 8.06 MB / 0.761 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4956, allocations: 0 / 0.761 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.4956, allocations: 8 kB / 0.7611 GB, free: 1.59 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009523/0.4966, allocations: 0.5049 MB / 0.7615 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4967, allocations: 12.03 kB / 0.7616 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.4969, allocations: 27.67 kB / 0.7616 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4974, allocations: 266.5 kB / 0.7618 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.4974, allocations: 8 kB / 0.7618 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.4975, allocations: 19.86 kB / 0.7619 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/0.4992, allocations: 0.7686 MB / 0.7626 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.4998, allocations: 199.7 kB / 0.7628 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4998, allocations: 0 / 0.7628 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4999, allocations: 0 / 0.7628 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.4999, allocations: 4 kB / 0.7628 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.5014, allocations: 0.5478 MB / 0.7633 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.5022, allocations: 308.2 kB / 0.7636 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.5025, allocations: 105.4 kB / 0.7637 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009984/0.5035, allocations: 453.7 kB / 0.7642 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.504, allocations: 175.5 kB / 0.7643 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/0.5041, allocations: 3.938 kB / 0.7643 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0025/0.5066, allocations: 392.8 kB / 0.7647 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.5067, allocations: 106.8 kB / 0.7648 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.5072, allocations: 247 kB / 0.7651 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.5073, allocations: 25.7 kB / 0.7651 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5074, allocations: 120.9 kB / 0.7652 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5076, allocations: 114.3 kB / 0.7653 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.5076, allocations: 3.938 kB / 0.7653 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5078, allocations: 334.8 kB / 0.7656 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.508, allocations: 91.98 kB / 0.7657 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.5084, allocations: 126.5 kB / 0.7658 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.5103, allocations: 216.5 kB / 0.766 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.5103, allocations: 0 / 0.766 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002489/0.5128, allocations: 472.6 kB / 0.7665 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.5129, allocations: 29.7 kB / 0.7665 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5129, allocations: 3.984 kB / 0.7665 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.513, allocations: 4 kB / 0.7665 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5134, allocations: 63.91 kB / 0.7666 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.5135, allocations: 15.94 kB / 0.7666 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.5138, allocations: 23.75 kB / 0.7666 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.5138, allocations: 11.98 kB / 0.7666 GB, free: 11.52 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.000155/0.514, allocations: 112.9 kB / 0.7667 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002387/0.5164, allocations: 385.2 kB / 0.7671 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.5165, allocations: 23.72 kB / 0.7671 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/0.5194, allocations: 0.4968 MB / 0.7676 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.5194, allocations: 4 kB / 0.7676 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5194, allocations: 0 / 0.7676 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5194, allocations: 3.984 kB / 0.7676 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.52, allocations: 293.8 kB / 0.7679 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.52, allocations: 0 / 0.7679 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.5205, allocations: 63.91 kB / 0.768 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5205, allocations: 11.94 kB / 0.768 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.5205, allocations: 7.984 kB / 0.768 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.5206, allocations: 4 kB / 0.768 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5206, allocations: 7.938 kB / 0.768 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.5229, allocations: 426 kB / 0.7684 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.5232, allocations: 160.6 kB / 0.7686 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.5233, allocations: 4 kB / 0.7686 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.5235, allocations: 7.984 kB / 0.7686 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.5236, allocations: 23.97 kB / 0.7686 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.5237, allocations: 19.94 kB / 0.7686 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003118/0.524, allocations: 201.8 kB / 0.7688 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.394e-06/0.524, allocations: 0 / 0.7688 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005351/0.5246, allocations: 87.78 kB / 0.7689 GB, free: 9.117 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.003618/0.5282, allocations: 1.187 MB / 0.7701 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007911/0.5291, allocations: 299.3 kB / 0.7703 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5291, allocations: 0 / 0.7703 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.5294, allocations: 131.7 kB / 0.7705 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.5297, allocations: 12.67 kB / 0.7705 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.5313, allocations: 484.3 kB / 0.7709 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.5318, allocations: 0.7617 MB / 0.7717 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006801/0.5324, allocations: 155.1 kB / 0.7718 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.5327, allocations: 95.39 kB / 0.7719 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5327, allocations: 0 / 0.7719 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.553/1.086, allocations: 5.083 MB / 0.7769 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/1.086, allocations: 208.8 kB / 0.7771 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.649, allocations: 0 / 0.7771 GB, free: 0.5898 MB / 0.6511 GB