Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.075/4.075, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.345e-05/5.378e-05, allocations: 10.12 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 98.74 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4718, allocations: 123.6 MB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4721, allocations: 71.95 kB / 0.7497 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002458/0.4746, allocations: 0.6723 MB / 0.7503 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4747, allocations: 0 / 0.7503 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4747, allocations: 7.938 kB / 0.7503 GB, free: 12.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000457/0.4752, allocations: 326.5 kB / 0.7506 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4752, allocations: 12.03 kB / 0.7506 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.4753, allocations: 3.953 kB / 0.7507 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4754, allocations: 163 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4755, allocations: 4 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.4755, allocations: 0 / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.456e-05/0.4756, allocations: 15.98 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.4757, allocations: 37.7 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4757, allocations: 0 / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4757, allocations: 0 / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4758, allocations: 0 / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.4761, allocations: 237.3 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.4762, allocations: 26.55 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.4763, allocations: 16.92 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4763, allocations: 0 / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4764, allocations: 34.56 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.4764, allocations: 0 / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.4766, allocations: 41.61 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4766, allocations: 55.41 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.4767, allocations: 93 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4767, allocations: 29.73 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.4768, allocations: 84.12 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4768, allocations: 3.906 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.4769, allocations: 0 / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.477, allocations: 318.8 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.4771, allocations: 7.938 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.4771, allocations: 4 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.4771, allocations: 8 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4771, allocations: 4.062 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.4773, allocations: 37.69 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4773, allocations: 5.25 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4773, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4773, allocations: 4 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4775, allocations: 15.98 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4775, allocations: 0 / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.4776, allocations: 4 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4777, allocations: 8.031 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.378e-05/0.4777, allocations: 104.9 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001067/0.4779, allocations: 45.62 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4779, allocations: 4.188 kB / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.4781, allocations: 49.34 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4781, allocations: 7.922 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4781, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4781, allocations: 4.016 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.4783, allocations: 138.2 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4783, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4785, allocations: 11.98 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4785, allocations: 3.938 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.4785, allocations: 0 / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4785, allocations: 4 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4785, allocations: 0 / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.4787, allocations: 143.4 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.4788, allocations: 77.11 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4788, allocations: 4 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4789, allocations: 7.984 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.479, allocations: 4 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.479, allocations: 0 / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4791, allocations: 79.28 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4791, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002814/0.4794, allocations: 8.031 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005526/0.48, allocations: 0.6734 MB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.347e-05/0.4801, allocations: 12 kB / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4801, allocations: 96 / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.4801, allocations: 15.98 kB / 0.7532 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.4804, allocations: 4.688 kB / 0.7532 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.4808, allocations: 77.66 kB / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4811, allocations: 0.6845 MB / 0.754 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.4811, allocations: 0 / 0.754 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.4812, allocations: 11.44 kB / 0.754 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.4812, allocations: 0 / 0.754 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.5166, allocations: 0.7008 MB / 0.7546 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.5169, allocations: 140.9 kB / 0.7548 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.669, allocations: 3.938 kB / 0.7548 GB, free: 7.625 MB / 0.6355 GB