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/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.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.432/4.432, allocations: 433.2 MB / 440.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.05e-05, allocations: 6.438 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/0.4921, allocations: 123.5 MB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4924, allocations: 71.95 kB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002381/0.4948, allocations: 0.684 MB / 0.7503 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4948, allocations: 4 kB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4948, allocations: 0 / 0.7503 GB, free: 12.67 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.000354/0.4952, allocations: 318.6 kB / 0.7506 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4953, allocations: 8.031 kB / 0.7506 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.4953, allocations: 3.953 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4955, allocations: 171 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4955, allocations: 0 / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.4955, allocations: 7.922 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.428e-05/0.4956, allocations: 8 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.784e-05/0.4957, allocations: 29.7 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4957, allocations: 0 / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4957, allocations: 0 / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4957, allocations: 7.938 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.4959, allocations: 134.2 kB / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.4959, allocations: 18.61 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.496, allocations: 8.859 kB / 0.751 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.496, allocations: 4 kB / 0.751 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4961, allocations: 38.56 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.4961, allocations: 0 / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.4962, allocations: 37.59 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.4963, allocations: 55.41 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.4964, allocations: 93 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4964, allocations: 25.7 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.4964, allocations: 84.14 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4965, allocations: 8.016 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4965, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4966, allocations: 310.8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.4966, allocations: 7.938 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.4967, allocations: 4 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.4967, allocations: 7.953 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4967, allocations: 0 / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.302e-05/0.4968, allocations: 41.62 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4968, allocations: 9.5 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4968, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4969, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.497, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.497, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.4971, allocations: 4 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.4971, allocations: 0 / 0.7517 GB, free: 11.05 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 7.698e-05/0.4972, allocations: 112.9 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.339e-05/0.4972, allocations: 37.7 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.4973, allocations: 3.906 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.4973, allocations: 3.75 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4973, allocations: 4 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4973, allocations: 0 / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4973, allocations: 0 / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.4975, allocations: 138.2 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4975, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.4975, allocations: 11.92 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4976, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4976, allocations: 4.031 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4976, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4976, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.4977, allocations: 65.33 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.4978, allocations: 81.05 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4978, allocations: 4 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.898e-05/0.4978, allocations: 4 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.4979, allocations: 4.031 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4979, allocations: 3.984 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.498, allocations: 83.28 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.498, allocations: 0 / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002427/0.4982, allocations: 4 kB / 0.7522 GB, free: 10.41 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.0004289/0.4987, allocations: 0.6046 MB / 0.7528 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.4988, allocations: 11.94 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4988, allocations: 0 / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.4988, allocations: 4 kB / 0.7528 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.4989, allocations: 3.984 kB / 0.7528 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.4993, allocations: 85.56 kB / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.4996, allocations: 0.6768 MB / 0.7536 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.4996, allocations: 8.109 kB / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.4997, allocations: 11.44 kB / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4997, allocations: 0 / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.5381, allocations: 0.5845 MB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.5385, allocations: 155.7 kB / 0.7543 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.842, allocations: 0 / 0.7543 GB, free: 8.148 MB / 0.6355 GB