Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.132/4.132, allocations: 433.2 MB / 440.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.838e-05, allocations: 8.719 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.4498, allocations: 123.6 MB / 0.7496 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4501, allocations: 67.97 kB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004001/0.4541, allocations: 1.142 MB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4541, allocations: 0 / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4542, allocations: 4 kB / 0.7507 GB, free: 12.21 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004275/0.4546, allocations: 374.2 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4547, allocations: 8.031 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.4547, allocations: 15.86 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.4549, allocations: 174.9 kB / 0.7513 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4549, allocations: 4 kB / 0.7513 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.455, allocations: 4 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/0.4551, allocations: 35.98 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4553, allocations: 83.34 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4553, allocations: 4 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4554, allocations: 0 / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4554, allocations: 7.953 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.4561, allocations: 413.3 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.4562, allocations: 37.19 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.4562, allocations: 17.84 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.4562, allocations: 0 / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4563, allocations: 38.56 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.4563, allocations: 0 / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001772/0.4565, allocations: 49.53 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4565, allocations: 81.11 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4567, allocations: 124 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4567, allocations: 25.7 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.4568, allocations: 115.9 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4569, allocations: 11.84 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.4569, allocations: 4.062 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.457, allocations: 318.8 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.457, allocations: 8 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.4571, allocations: 13.72 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.4571, allocations: 15.95 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4571, allocations: 0 / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.4573, allocations: 61.62 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4573, allocations: 4 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4573, allocations: 0 / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4573, allocations: 4 kB / 0.7527 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.4574, allocations: 4 kB / 0.7527 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4575, allocations: 0 / 0.7527 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.4575, allocations: 7.938 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4575, allocations: 4 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.367e-05/0.4576, allocations: 104.9 kB / 0.7528 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001215/0.4578, allocations: 57.59 kB / 0.7529 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.4578, allocations: 7.984 kB / 0.7529 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.4579, allocations: 7.969 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4579, allocations: 0 / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4579, allocations: 0 / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4579, allocations: 0 / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.4584, allocations: 459.3 kB / 0.7533 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4584, allocations: 8.031 kB / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.4584, allocations: 0 / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4585, allocations: 4 kB / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4585, allocations: 0 / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4585, allocations: 3.984 kB / 0.7533 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4585, allocations: 0 / 0.7533 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.4586, allocations: 92.22 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.4587, allocations: 89 kB / 0.7535 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.4587, allocations: 0 / 0.7535 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.4588, allocations: 0 / 0.7535 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.4588, allocations: 7.953 kB / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4588, allocations: 0 / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.24e-05/0.4589, allocations: 113.4 kB / 0.7536 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.459, allocations: 0 / 0.7536 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002459/0.4592, allocations: 11.91 kB / 0.7536 GB, free: 8.887 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004263/0.4596, allocations: 0.6837 MB / 0.7543 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.4598, allocations: 23.94 kB / 0.7543 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4598, allocations: 4.156 kB / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.4598, allocations: 4 kB / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.46, allocations: 20.58 kB / 0.7544 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.4605, allocations: 138.5 kB / 0.7545 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4608, allocations: 0.708 MB / 0.7552 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.4608, allocations: 8.188 kB / 0.7552 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4609, allocations: 23.42 kB / 0.7552 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.4609, allocations: 0 / 0.7552 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.4954, allocations: 0.9736 MB / 0.7562 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003977/0.4958, allocations: 147.9 kB / 0.7563 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.772, allocations: 0 / 0.7563 GB, free: 6.02 MB / 0.6355 GB