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/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_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 4.247/4.247, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.816e-05, allocations: 5.438 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 98.75 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.4949, allocations: 123.5 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4952, allocations: 67.95 kB / 0.7496 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003933/0.4992, allocations: 1.15 MB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4992, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4992, allocations: 4 kB / 0.7507 GB, free: 12.17 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.0003881/0.4996, allocations: 370.2 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4997, allocations: 8.031 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4997, allocations: 15.86 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4999, allocations: 178.9 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5, allocations: 0 / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.5, allocations: 4 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/0.5001, allocations: 32 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.5003, allocations: 85.36 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5003, allocations: 0 / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5004, allocations: 4 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.5004, allocations: 7.953 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.501, allocations: 417.3 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.5011, allocations: 41.17 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.5012, allocations: 13.84 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.5012, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5012, allocations: 38.56 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.5012, allocations: 4 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.5014, allocations: 41.55 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5015, allocations: 81.11 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5016, allocations: 121.2 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5016, allocations: 25.7 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.5017, allocations: 112.2 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5018, allocations: 15.89 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5018, allocations: 3.938 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5019, allocations: 314.9 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.5019, allocations: 8 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.502, allocations: 17.72 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.502, allocations: 23.88 kB / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5021, allocations: 0 / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.5022, allocations: 53.64 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5022, allocations: 8.062 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5022, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5023, allocations: 4 kB / 0.7527 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.5024, allocations: 7.984 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5024, allocations: 0 / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.5024, allocations: 11.84 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5024, allocations: 0 / 0.7527 GB, free: 9.906 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.179e-05/0.5025, allocations: 104.9 kB / 0.7528 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001184/0.5026, allocations: 49.58 kB / 0.7529 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.5027, allocations: 8.031 kB / 0.7529 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.5028, allocations: 15.95 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5028, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5028, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5028, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.5033, allocations: 455.2 kB / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5033, allocations: 4 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.5033, allocations: 4.062 kB / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5033, allocations: 4 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.5034, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5034, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5034, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.5035, allocations: 92.2 kB / 0.7534 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.5036, allocations: 89.11 kB / 0.7535 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5036, allocations: 0 / 0.7535 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.5037, allocations: 3.984 kB / 0.7535 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.5037, allocations: 11.94 kB / 0.7535 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.5037, allocations: 0 / 0.7535 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.347e-05/0.5038, allocations: 101.6 kB / 0.7536 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.585e-06/0.5038, allocations: 0 / 0.7536 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002814/0.5041, allocations: 15.84 kB / 0.7536 GB, free: 8.859 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.0004202/0.5045, allocations: 0.6915 MB / 0.7543 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.5046, allocations: 15.94 kB / 0.7543 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5046, allocations: 160 / 0.7543 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.5047, allocations: 12 kB / 0.7543 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5048, allocations: 7.953 kB / 0.7543 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.5053, allocations: 142.5 kB / 0.7545 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.5056, allocations: 0.7008 MB / 0.7552 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.5056, allocations: 16.23 kB / 0.7552 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.5057, allocations: 19.44 kB / 0.7552 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/0.5057, allocations: 0 / 0.7552 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.5376, allocations: 0.9789 MB / 0.7562 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/0.538, allocations: 146.7 kB / 0.7563 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.763, allocations: 0 / 0.7563 GB, free: 5.996 MB / 0.6355 GB