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_cfm.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.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.933/3.933, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.016e-05, allocations: 6.344 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/0.4546, allocations: 124.2 MB / 0.756 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4549, allocations: 63.97 kB / 0.7561 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004128/0.4591, allocations: 1.15 MB / 0.7572 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4591, allocations: 0 / 0.7572 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4591, allocations: 4 kB / 0.7572 GB, free: 4.301 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.0004267/0.4596, allocations: 362.3 kB / 0.7576 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4596, allocations: 12.03 kB / 0.7576 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.4597, allocations: 38.55 kB / 0.7576 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.4598, allocations: 15.86 kB / 0.7576 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.46, allocations: 182.8 kB / 0.7578 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.46, allocations: 8 kB / 0.7578 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.46, allocations: 8 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4603, allocations: 88.33 kB / 0.7579 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4603, allocations: 4 kB / 0.7579 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.4603, allocations: 8 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.4603, allocations: 3.938 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.4605, allocations: 36 kB / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.4613, allocations: 464.5 kB / 0.7584 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.4614, allocations: 33.16 kB / 0.7584 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.4615, allocations: 19.66 kB / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.4615, allocations: 7.922 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4615, allocations: 42.59 kB / 0.7585 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/0.4615, allocations: 0 / 0.7585 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002009/0.4617, allocations: 45.61 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4618, allocations: 81.05 kB / 0.7586 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.462, allocations: 157.3 kB / 0.7588 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4621, allocations: 25.7 kB / 0.7588 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.4622, allocations: 112.2 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4622, allocations: 7.906 kB / 0.7589 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.4622, allocations: 3.938 kB / 0.7589 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4624, allocations: 322.8 kB / 0.7592 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.4624, allocations: 8 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/0.4624, allocations: 21.72 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.4625, allocations: 8 kB / 0.7592 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4625, allocations: 4 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001493/0.4627, allocations: 65.53 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4627, allocations: 10.5 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4627, allocations: 4 kB / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4627, allocations: 0 / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.4629, allocations: 8 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4629, allocations: 0 / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.4629, allocations: 3.938 kB / 0.7593 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.463, allocations: 7.984 kB / 0.7593 GB, free: 1.863 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 8.08e-05/0.4631, allocations: 109 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.4631, allocations: 11.81 kB / 0.7595 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.4632, allocations: 16.55 kB / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4632, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4632, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4632, allocations: 4 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.4638, allocations: 482.8 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4638, allocations: 0 / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.4639, allocations: 4 kB / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4639, allocations: 0 / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4639, allocations: 4 kB / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4639, allocations: 3.938 kB / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4639, allocations: 0 / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.4641, allocations: 95.59 kB / 0.76 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.4642, allocations: 85.02 kB / 0.7601 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4642, allocations: 7.984 kB / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.4642, allocations: 0 / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.4643, allocations: 0 / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4643, allocations: 3.953 kB / 0.7601 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001413/0.4644, allocations: 135.2 kB / 0.7603 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4645, allocations: 0 / 0.7603 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002386/0.4647, allocations: 8 kB / 0.7603 GB, free: 0.7969 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.0004845/0.4652, allocations: 0.707 MB / 0.761 GB, free: 56 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.4653, allocations: 27.97 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4653, allocations: 0 / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.4654, allocations: 4 kB / 0.761 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.4655, allocations: 11.95 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.466, allocations: 143.7 kB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.4664, allocations: 0.7007 MB / 0.7618 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.4664, allocations: 12.5 kB / 0.7618 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.4665, allocations: 23.44 kB / 0.7619 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.4665, allocations: 0 / 0.7619 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.4865, allocations: 1.551 MB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.4868, allocations: 169.7 kB / 0.7635 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.721, allocations: 0 / 0.7635 GB, free: 13.36 MB / 0.6511 GB