Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01046/0.01047, allocations: 87.98 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001237/0.001237, allocations: 170.5 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.162/2.162, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.349/2.349, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008057/0.0008063, allocations: 13 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2415, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002041/0.2436, allocations: 1.164 MB / 0.7292 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.2439, allocations: 84.62 kB / 0.7293 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.244, allocations: 0 / 0.7293 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.244, allocations: 0 / 0.7293 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.2441, allocations: 8 kB / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2443, allocations: 15.97 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.2444, allocations: 15.94 kB / 0.7293 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.2444, allocations: 0 / 0.7293 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.2445, allocations: 11.97 kB / 0.7293 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.2446, allocations: 15.92 kB / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2446, allocations: 0 / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.2447, allocations: 15.98 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.2447, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.2448, allocations: 25.7 kB / 0.7294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.676e-05/0.2449, allocations: 23.97 kB / 0.7294 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2449, allocations: 4 kB / 0.7294 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2449, allocations: 0 / 0.7294 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2449, allocations: 0 / 0.7294 GB, free: 8.73 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005426/0.2454, allocations: 347.6 kB / 0.7297 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2455, allocations: 11.97 kB / 0.7298 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2455, allocations: 30.56 kB / 0.7298 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.2458, allocations: 27.88 kB / 0.7298 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2459, allocations: 163 kB / 0.73 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.246, allocations: 0 / 0.73 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.246, allocations: 4 kB / 0.73 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.2463, allocations: 57.67 kB / 0.73 GB, free: 8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2463, allocations: 7.922 kB / 0.73 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2463, allocations: 8 kB / 0.73 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2463, allocations: 0 / 0.73 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.2467, allocations: 55.95 kB / 0.7301 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.2472, allocations: 276.8 kB / 0.7304 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.2476, allocations: 62.55 kB / 0.7304 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2476, allocations: 4 kB / 0.7304 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2476, allocations: 30.56 kB / 0.7305 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.2476, allocations: 0 / 0.7305 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0006967/0.2483, allocations: 129.6 kB / 0.7306 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2484, allocations: 55.41 kB / 0.7306 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.2485, allocations: 109.8 kB / 0.7307 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2485, allocations: 25.7 kB / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.2486, allocations: 92.17 kB / 0.7308 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2486, allocations: 0 / 0.7308 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2486, allocations: 4 kB / 0.7309 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2488, allocations: 314.8 kB / 0.7312 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.249, allocations: 27.98 kB / 0.7312 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.2492, allocations: 35.97 kB / 0.7312 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.2494, allocations: 27.98 kB / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2495, allocations: 0 / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004572/0.2499, allocations: 105.5 kB / 0.7313 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.25, allocations: 4 kB / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.25, allocations: 0 / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.25, allocations: 0 / 0.7313 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2502, allocations: 20.02 kB / 0.7314 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2502, allocations: 0 / 0.7314 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2503, allocations: 19.88 kB / 0.7314 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2504, allocations: 0 / 0.7314 GB, free: 6.492 MB / 0.5573 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 () * Number of clocked 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 9.909e-05/0.2505, allocations: 113.8 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2505, allocations: 4 kB / 0.7315 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.2506, allocations: 15.47 kB / 0.7315 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2506, allocations: 4 kB / 0.7315 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2506, allocations: 256 / 0.7315 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2506, allocations: 0 / 0.7315 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2508, allocations: 169.6 kB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2508, allocations: 4 kB / 0.7317 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.251, allocations: 15.98 kB / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.251, allocations: 0 / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.251, allocations: 0 / 0.7317 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.251, allocations: 8 kB / 0.7317 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.251, allocations: 0 / 0.7317 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.2515, allocations: 199.2 kB / 0.7319 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.2516, allocations: 81.09 kB / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2516, allocations: 0 / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2518, allocations: 11.98 kB / 0.732 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2519, allocations: 4 kB / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2519, allocations: 0 / 0.732 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.2519, allocations: 83.28 kB / 0.7321 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.252, allocations: 4.031 kB / 0.7321 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002994/0.2523, allocations: 4 kB / 0.7321 GB, free: 5.691 MB / 0.5573 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 () * Number of clocked 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.0008644/0.2531, allocations: 0.728 MB / 0.7328 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.2536, allocations: 71.97 kB / 0.7328 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2536, allocations: 0 / 0.7328 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2538, allocations: 31.98 kB / 0.7329 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.2541, allocations: 128 / 0.7329 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.2547, allocations: 166.3 kB / 0.733 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.255, allocations: 0.677 MB / 0.7337 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.2551, allocations: 4 kB / 0.7337 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.2552, allocations: 19.38 kB / 0.7337 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.2552, allocations: 0 / 0.7337 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.277, allocations: 1.169 MB / 0.7349 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.2773, allocations: 183.6 kB / 0.735 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/2.844, allocations: 3.938 kB / 0.735 GB, free: 2.605 MB / 0.5573 GB