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.Sources.Validation.Sine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.264e-05, allocations: 5.094 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 98.73 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.4751, allocations: 124.2 MB / 0.756 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.4755, allocations: 75.95 kB / 0.7561 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002989/0.4785, allocations: 0.6726 MB / 0.7568 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4785, allocations: 7.938 kB / 0.7568 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4785, allocations: 0 / 0.7568 GB, free: 4.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004303/0.479, allocations: 324.2 kB / 0.7571 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.4791, allocations: 8.031 kB / 0.7571 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.4791, allocations: 30.56 kB / 0.7571 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.4792, allocations: 4 kB / 0.7571 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.4793, allocations: 167 kB / 0.7573 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4793, allocations: 0 / 0.7573 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4794, allocations: 0 / 0.7573 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.4795, allocations: 41.64 kB / 0.7573 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4795, allocations: 0 / 0.7573 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4795, allocations: 0 / 0.7573 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4795, allocations: 0 / 0.7573 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.4796, allocations: 4 kB / 0.7573 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4798, allocations: 161.7 kB / 0.7575 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.4799, allocations: 22.56 kB / 0.7575 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.4799, allocations: 12.92 kB / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4799, allocations: 0 / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.48, allocations: 34.5 kB / 0.7575 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.48, allocations: 0 / 0.7575 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.4802, allocations: 41.61 kB / 0.7576 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4802, allocations: 51.41 kB / 0.7576 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.4803, allocations: 96.98 kB / 0.7577 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4803, allocations: 29.7 kB / 0.7577 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.4804, allocations: 84.17 kB / 0.7578 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4804, allocations: 0 / 0.7578 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4805, allocations: 0 / 0.7578 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4806, allocations: 322.7 kB / 0.7581 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.4806, allocations: 4 kB / 0.7581 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.4807, allocations: 0 / 0.7581 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.4807, allocations: 4 kB / 0.7581 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4807, allocations: 0 / 0.7581 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.4808, allocations: 49.69 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4808, allocations: 4 kB / 0.7582 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4809, allocations: 0 / 0.7582 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4809, allocations: 0 / 0.7582 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.481, allocations: 4 kB / 0.7582 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.481, allocations: 3.984 kB / 0.7582 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.4811, allocations: 4 kB / 0.7582 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4811, allocations: 0 / 0.7582 GB, free: 3.039 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 (1): * Single equations (assignments): 1 * 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.05e-05/0.4812, allocations: 109 kB / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.4812, allocations: 4 kB / 0.7583 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.4812, allocations: 7.062 kB / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4812, allocations: 0 / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4813, allocations: 0 / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4813, allocations: 0 / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.4814, allocations: 161.5 kB / 0.7585 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4814, allocations: 0 / 0.7585 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.4815, allocations: 7.984 kB / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4815, allocations: 0 / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.4815, allocations: 4 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.4815, allocations: 7.984 kB / 0.7585 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4816, allocations: 3.938 kB / 0.7585 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.4817, allocations: 61.12 kB / 0.7586 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4817, allocations: 81.06 kB / 0.7586 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.4818, allocations: 0 / 0.7586 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.4818, allocations: 4.25 kB / 0.7586 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4819, allocations: 12.02 kB / 0.7586 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4819, allocations: 7.984 kB / 0.7587 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.4819, allocations: 79.28 kB / 0.7587 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.482, allocations: 0 / 0.7587 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002155/0.4822, allocations: 4 kB / 0.7587 GB, free: 2.406 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 (1): * Single equations (assignments): 1 * 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.00048/0.4827, allocations: 0.6104 MB / 0.7593 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.4828, allocations: 11.94 kB / 0.7593 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4828, allocations: 0 / 0.7593 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.4828, allocations: 0 / 0.7593 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.4829, allocations: 8 kB / 0.7593 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.4833, allocations: 82.58 kB / 0.7594 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4836, allocations: 0.6811 MB / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.4837, allocations: 0 / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.4837, allocations: 11.44 kB / 0.7601 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4837, allocations: 3.938 kB / 0.7601 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.5024, allocations: 0.8908 MB / 0.761 GB, free: 92 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.5027, allocations: 170.5 kB / 0.7611 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.95, allocations: 0 / 0.7611 GB, free: 15.86 MB / 0.6511 GB