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_gal.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_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.215/4.215, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.508e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 98.74 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/0.4978, allocations: 123.5 MB / 0.7495 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4982, allocations: 67.95 kB / 0.7496 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004159/0.5024, allocations: 1.146 MB / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5024, allocations: 4 kB / 0.7507 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.5024, allocations: 0 / 0.7507 GB, free: 12.23 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.0004549/0.5029, allocations: 366.2 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.503, allocations: 8.031 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.503, allocations: 15.86 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.5032, allocations: 178.9 kB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.5033, allocations: 4 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.5033, allocations: 4 kB / 0.7513 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001268/0.5034, allocations: 32 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.5036, allocations: 87.33 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5036, allocations: 0 / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5037, allocations: 4 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5037, allocations: 11.89 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.5044, allocations: 417.2 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.5045, allocations: 37.19 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.5046, allocations: 17.84 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5046, allocations: 7.984 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.5047, allocations: 34.56 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.5047, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.5049, allocations: 45.55 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5049, allocations: 77.11 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5051, allocations: 127.5 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5051, allocations: 29.77 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.5052, allocations: 112.2 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.5052, allocations: 7.891 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.5053, allocations: 7.938 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5054, allocations: 314.8 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.5054, allocations: 4 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.5055, allocations: 17.72 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.5056, allocations: 19.94 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5056, allocations: 4 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.5057, allocations: 53.64 kB / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5057, allocations: 4 kB / 0.7527 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5058, allocations: 0 / 0.7527 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5058, allocations: 4 kB / 0.7527 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5059, allocations: 7.984 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5059, allocations: 0 / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.506, allocations: 7.844 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.506, allocations: 8.062 kB / 0.7527 GB, free: 9.953 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.243e-05/0.5061, allocations: 105.6 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001226/0.5062, allocations: 49.55 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.5063, allocations: 4 kB / 0.7529 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.5063, allocations: 11.95 kB / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5063, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5063, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5064, allocations: 0 / 0.7529 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.5069, allocations: 459.3 kB / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5069, allocations: 0 / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.507, allocations: 4 kB / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.507, allocations: 0 / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.507, allocations: 4 kB / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.507, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.507, allocations: 0 / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.5072, allocations: 96.27 kB / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.5073, allocations: 88.95 kB / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5073, allocations: 0 / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.5073, allocations: 3.984 kB / 0.7535 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.5074, allocations: 3.953 kB / 0.7535 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5074, allocations: 4 kB / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.5075, allocations: 105.7 kB / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.381e-05/0.5075, allocations: 0 / 0.7536 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000261/0.5078, allocations: 15.84 kB / 0.7536 GB, free: 8.91 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.0004928/0.5083, allocations: 0.6876 MB / 0.7543 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.5084, allocations: 19.94 kB / 0.7543 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.5084, allocations: 4 kB / 0.7543 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.5084, allocations: 4 kB / 0.7543 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.5086, allocations: 11.94 kB / 0.7543 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.5091, allocations: 134.9 kB / 0.7545 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5094, allocations: 0.7118 MB / 0.7552 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.5095, allocations: 4.172 kB / 0.7552 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.5095, allocations: 23.44 kB / 0.7552 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.5096, allocations: 0 / 0.7552 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.5458, allocations: 0.9913 MB / 0.7562 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.5461, allocations: 142.7 kB / 0.7563 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.766, allocations: 4 kB / 0.7563 GB, free: 6.039 MB / 0.6355 GB