Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.01065/0.01065, allocations: 89.09 kB / 15.04 MB, free: 5.578 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.001213/0.001213, allocations: 170.3 kB / 15.92 MB, free: 5.551 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.156/2.156, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.558/2.558, allocations: 252.8 MB / 0.511 GB, free: 8.293 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006457/0.0006458, allocations: 10.84 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2385, allocations: 106.2 MB / 0.7281 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.005735/0.2443, allocations: 2.741 MB / 0.7307 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.2482, allocations: 1.058 MB / 0.7318 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.2488, allocations: 11.94 kB / 0.7318 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.249, allocations: 47.44 kB / 0.7318 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.2498, allocations: 111.5 kB / 0.7319 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.2506, allocations: 155.8 kB / 0.7321 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.2518, allocations: 397.2 kB / 0.7325 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.2526, allocations: 230.3 kB / 0.7327 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.2531, allocations: 139.2 kB / 0.7328 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.2535, allocations: 170.9 kB / 0.733 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.2537, allocations: 20 kB / 0.733 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.2538, allocations: 16 kB / 0.733 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2539, allocations: 75.55 kB / 0.7331 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.2542, allocations: 113.4 kB / 0.7332 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2556, allocations: 0.6587 MB / 0.7338 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2556, allocations: 0 / 0.7338 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2556, allocations: 0 / 0.7338 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.2557, allocations: 0 / 0.7338 GB, free: 2.137 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002816/0.2585, allocations: 0.8142 MB / 0.7346 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.2586, allocations: 8.031 kB / 0.7346 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.2588, allocations: 82.52 kB / 0.7347 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.259, allocations: 71.11 kB / 0.7348 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2602, allocations: 445.9 kB / 0.7352 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.2603, allocations: 33 kB / 0.7352 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.2604, allocations: 44 kB / 0.7353 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.2625, allocations: 0.514 MB / 0.7358 GB, free: 12 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.2625, allocations: 0 / 0.7358 GB, free: 12 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.2627, allocations: 20.06 kB / 0.7358 GB, free: 15.99 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.2627, allocations: 12 kB / 0.7358 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.2649, allocations: 427.6 kB / 0.7362 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/0.2707, allocations: 2.037 MB / 0.7382 GB, free: 13.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.2728, allocations: 383.8 kB / 0.7386 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.2729, allocations: 8.219 kB / 0.7386 GB, free: 13.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.2729, allocations: 38.8 kB / 0.7386 GB, free: 13 MB / 0.573 GB Notification: Performance of pre-optimization done (n=27): time 4.017e-06/0.273, allocations: 0 / 0.7386 GB, free: 13 MB / 0.573 GB Notification: Performance of matching and sorting (n=27): time 0.002671/0.2756, allocations: 484 kB / 0.7391 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2758, allocations: 106.8 kB / 0.7392 GB, free: 12.39 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2771, allocations: 0.4942 MB / 0.7397 GB, free: 11.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.2772, allocations: 29.7 kB / 0.7397 GB, free: 11.86 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.2776, allocations: 295.9 kB / 0.74 GB, free: 11.56 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.2778, allocations: 94.59 kB / 0.7401 GB, free: 11.47 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.2778, allocations: 15.88 kB / 0.7401 GB, free: 11.45 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.2781, allocations: 362.7 kB / 0.7404 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008524/0.2789, allocations: 148.6 kB / 0.7406 GB, free: 10.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.2799, allocations: 224.9 kB / 0.7408 GB, free: 10.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.2808, allocations: 163.8 kB / 0.7409 GB, free: 10.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2809, allocations: 0 / 0.7409 GB, free: 10.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002179/0.2831, allocations: 440.6 kB / 0.7414 GB, free: 10.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.2834, allocations: 449 kB / 0.7418 GB, free: 9.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2834, allocations: 0 / 0.7418 GB, free: 9.629 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.2834, allocations: 8.031 kB / 0.7418 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.2844, allocations: 91.88 kB / 0.7419 GB, free: 9.531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.2844, allocations: 7.938 kB / 0.7419 GB, free: 9.523 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.2852, allocations: 63.56 kB / 0.7419 GB, free: 9.461 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.2852, allocations: 19.98 kB / 0.742 GB, free: 9.441 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2853, allocations: 8 kB / 0.742 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/0.2867, allocations: 296 kB / 0.7423 GB, free: 9.145 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2868, allocations: 8.125 kB / 0.7423 GB, free: 9.137 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2868, allocations: 0 / 0.7423 GB, free: 9.137 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007282/0.2875, allocations: 71.84 kB / 0.7423 GB, free: 9.066 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.2876, allocations: 11.94 kB / 0.7423 GB, free: 9.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.2882, allocations: 59.52 kB / 0.7424 GB, free: 8.996 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2883, allocations: 12 kB / 0.7424 GB, free: 8.984 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0005463/0.2888, allocations: 257.1 kB / 0.7427 GB, free: 8.723 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.289, allocations: 51.42 kB / 0.7427 GB, free: 8.672 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.291, allocations: 378.4 kB / 0.7431 GB, free: 8.293 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.291, allocations: 8 kB / 0.7431 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.2911, allocations: 3.953 kB / 0.7431 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2911, allocations: 3.984 kB / 0.7431 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2923, allocations: 0.5089 MB / 0.7436 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2923, allocations: 3.984 kB / 0.7436 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.2931, allocations: 67.91 kB / 0.7436 GB, free: 7.648 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.2931, allocations: 3.984 kB / 0.7437 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.2932, allocations: 12 kB / 0.7437 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2932, allocations: 0 / 0.7437 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2932, allocations: 0 / 0.7437 GB, free: 7.633 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.296, allocations: 0.6322 MB / 0.7443 GB, free: 6.984 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2963, allocations: 148.3 kB / 0.7444 GB, free: 6.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2964, allocations: 4 kB / 0.7444 GB, free: 6.816 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.2971, allocations: 44.03 kB / 0.7445 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2972, allocations: 15.97 kB / 0.7445 GB, free: 6.758 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.2972, allocations: 8 kB / 0.7445 GB, free: 6.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009518/0.2982, allocations: 358.8 kB / 0.7448 GB, free: 6.402 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2982, allocations: 4 kB / 0.7448 GB, free: 6.398 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001158/0.2994, allocations: 151.4 kB / 0.745 GB, free: 6.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * 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 (28): * Single equations (assignments): 28 * 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.003307/0.3027, allocations: 1.179 MB / 0.7461 GB, free: 5.047 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.3054, allocations: 0.4998 MB / 0.7466 GB, free: 4.547 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3054, allocations: 0 / 0.7466 GB, free: 4.547 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.3063, allocations: 175.2 kB / 0.7468 GB, free: 4.379 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.3075, allocations: 107 kB / 0.7469 GB, free: 4.277 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.319, allocations: 3.415 MB / 0.7502 GB, free: 0.793 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007432/0.3198, allocations: 0.8509 MB / 0.7511 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005965/0.3204, allocations: 59.42 kB / 0.7511 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.321, allocations: 187.4 kB / 0.7513 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of SimCode: time 1.192e-06/0.321, allocations: 0 / 0.7513 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.358, allocations: 9.05 MB / 0.7601 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.3584, allocations: 194.6 kB / 0.7603 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.135, allocations: 0 / 0.7603 GB, free: 6.551 MB / 0.5886 GB