Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.191/4.191, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.844e-05, allocations: 2.625 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 98.74 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.4655, allocations: 123.5 MB / 0.7495 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4659, allocations: 75.94 kB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003317/0.4692, allocations: 0.8282 MB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4693, allocations: 0 / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.4693, allocations: 0 / 0.7504 GB, free: 12.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003198/0.4696, allocations: 322.5 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4697, allocations: 16.03 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.4697, allocations: 3.953 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4699, allocations: 163.1 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4699, allocations: 0 / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.4699, allocations: 7.984 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.184e-05/0.47, allocations: 3.938 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.4701, allocations: 33.7 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4701, allocations: 0 / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4701, allocations: 0 / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4701, allocations: 3.938 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.4703, allocations: 138.2 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.4704, allocations: 22.61 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.4704, allocations: 12.92 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009174/0.4713, allocations: 0.6013 MB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4714, allocations: 34.5 kB / 0.7517 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.459e-06/0.4714, allocations: 4 kB / 0.7517 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.4716, allocations: 37.7 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.4717, allocations: 51.41 kB / 0.7518 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.4717, allocations: 92.98 kB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.4718, allocations: 25.7 kB / 0.7519 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.4718, allocations: 80.14 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4719, allocations: 11.84 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4719, allocations: 3.938 kB / 0.752 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.472, allocations: 314.9 kB / 0.7523 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.472, allocations: 4 kB / 0.7523 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.4721, allocations: 0 / 0.7523 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.4721, allocations: 7.953 kB / 0.7523 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4721, allocations: 0 / 0.7523 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.4722, allocations: 45.62 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4723, allocations: 8 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.4723, allocations: 0 / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4723, allocations: 0 / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.4724, allocations: 4.094 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4724, allocations: 4 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.4724, allocations: 3.906 kB / 0.7524 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4725, allocations: 3.984 kB / 0.7524 GB, free: 10.15 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 (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 prepare postOptimizeDAE: time 7.603e-05/0.4725, allocations: 105.6 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.824e-05/0.4726, allocations: 37.69 kB / 0.7525 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.4727, allocations: 4 kB / 0.7525 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.4728, allocations: 49.38 kB / 0.7526 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4728, allocations: 4.062 kB / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4728, allocations: 0 / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4729, allocations: 0 / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.473, allocations: 134.2 kB / 0.7527 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.473, allocations: 0 / 0.7527 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.473, allocations: 4 kB / 0.7527 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4731, allocations: 0 / 0.7527 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4731, allocations: 0 / 0.7527 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4731, allocations: 0 / 0.7527 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4731, allocations: 0 / 0.7527 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.4732, allocations: 73.08 kB / 0.7528 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.4733, allocations: 84.98 kB / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4733, allocations: 0 / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.4733, allocations: 0 / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.4734, allocations: 0 / 0.7529 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4734, allocations: 4 kB / 0.7529 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.4734, allocations: 79.47 kB / 0.7529 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.055e-06/0.4735, allocations: 0 / 0.7529 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002739/0.4737, allocations: 27.95 kB / 0.753 GB, free: 9.465 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 (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.000504/0.4742, allocations: 0.6201 MB / 0.7536 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.4743, allocations: 8 kB / 0.7536 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4744, allocations: 3.938 kB / 0.7536 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.4744, allocations: 8.094 kB / 0.7536 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.4746, allocations: 7.984 kB / 0.7536 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.475, allocations: 85.66 kB / 0.7537 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4753, allocations: 0.6768 MB / 0.7543 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.4753, allocations: 4.125 kB / 0.7543 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.4754, allocations: 11.44 kB / 0.7544 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.4754, allocations: 4.062 kB / 0.7544 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.5105, allocations: 0.8944 MB / 0.7552 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/0.5109, allocations: 151.8 kB / 0.7554 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.771, allocations: 0 / 0.7554 GB, free: 6.859 MB / 0.6355 GB