Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01199/0.01199, allocations: 107.4 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001246/0.001246, allocations: 184.6 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.09/2.09, allocations: 194.6 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.313/2.313, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.0006578, allocations: 16 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6874, allocations: 98.7 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.926, allocations: 132.2 MB / 0.8125 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.9264, allocations: 91.95 kB / 0.8126 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03673/0.9631, allocations: 8.781 MB / 0.8211 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9632, allocations: 0 / 0.8211 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.434e-05/0.9632, allocations: 16.88 kB / 0.8212 GB, free: 1.109 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002293/0.9655, allocations: 0.7897 MB / 0.8219 GB, free: 264 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9656, allocations: 8.031 kB / 0.8219 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.9658, allocations: 86.52 kB / 0.822 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.966, allocations: 59.3 kB / 0.8221 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/0.9669, allocations: 423.6 kB / 0.8225 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.967, allocations: 37 kB / 0.8225 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9671, allocations: 52 kB / 0.8226 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.9689, allocations: 0.5555 MB / 0.8231 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.969, allocations: 4 kB / 0.8231 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.969, allocations: 20 kB / 0.8231 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.9691, allocations: 15.95 kB / 0.8232 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.9709, allocations: 463.6 kB / 0.8236 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.9747, allocations: 1.884 MB / 0.8254 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.9766, allocations: 419 kB / 0.8258 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.9767, allocations: 7.984 kB / 0.8258 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009275/0.9776, allocations: 245.4 kB / 0.8261 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.487e-06/0.9777, allocations: 0 / 0.8261 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.00246/0.9801, allocations: 0.5492 MB / 0.8266 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.9802, allocations: 110.8 kB / 0.8267 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007061/0.981, allocations: 356.7 kB / 0.8271 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.9811, allocations: 45.69 kB / 0.8271 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.9814, allocations: 244.3 kB / 0.8273 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.9815, allocations: 102.7 kB / 0.8274 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.9816, allocations: 11.94 kB / 0.8274 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.9818, allocations: 354.8 kB / 0.8278 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000803/0.9826, allocations: 181 kB / 0.828 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009398/0.9836, allocations: 302.7 kB / 0.8282 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/0.9844, allocations: 226.5 kB / 0.8285 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.9844, allocations: 0 / 0.8285 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002026/0.9865, allocations: 0.5542 MB / 0.829 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006477/0.9871, allocations: 1.168 MB / 0.8301 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.9872, allocations: 4 kB / 0.8301 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.9872, allocations: 7.938 kB / 0.8302 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.9879, allocations: 83.88 kB / 0.8302 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.9879, allocations: 11.92 kB / 0.8302 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.9887, allocations: 79.64 kB / 0.8303 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.9888, allocations: 23.95 kB / 0.8303 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.9888, allocations: 4 kB / 0.8303 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001742/0.9906, allocations: 481 kB / 0.8308 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9906, allocations: 4 kB / 0.8308 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.9906, allocations: 11.98 kB / 0.8308 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.9912, allocations: 80.03 kB / 0.8309 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.9912, allocations: 8 kB / 0.8309 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.992, allocations: 71.64 kB / 0.831 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.992, allocations: 20 kB / 0.831 GB, free: 6.574 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0004943/0.9925, allocations: 277 kB / 0.8313 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9927, allocations: 43.48 kB / 0.8313 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.9944, allocations: 437.6 kB / 0.8317 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.9945, allocations: 8 kB / 0.8317 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9945, allocations: 0 / 0.8317 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.9945, allocations: 7.984 kB / 0.8317 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.9974, allocations: 1.023 MB / 0.8327 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.9974, allocations: 4 kB / 0.8327 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.9979, allocations: 59.89 kB / 0.8328 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.998, allocations: 3.938 kB / 0.8328 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.998, allocations: 8 kB / 0.8328 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.998, allocations: 4 kB / 0.8328 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.998, allocations: 0 / 0.8328 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.001, allocations: 0.7276 MB / 0.8335 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/1.001, allocations: 152.6 kB / 0.8337 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.001, allocations: 12 kB / 0.8337 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/1.002, allocations: 56 kB / 0.8337 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.002, allocations: 51.73 kB / 0.8338 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/1.002, allocations: 19.97 kB / 0.8338 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005037/1.002, allocations: 263.2 kB / 0.834 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.002, allocations: 7.938 kB / 0.8341 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009422/1.003, allocations: 159.8 kB / 0.8342 GB, free: 3.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003057/1.006, allocations: 1.359 MB / 0.8355 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.009, allocations: 0.7698 MB / 0.8363 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.009, allocations: 0 / 0.8363 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008443/1.01, allocations: 212.1 kB / 0.8365 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/1.011, allocations: 72.64 kB / 0.8366 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/1.019, allocations: 4.402 MB / 0.8409 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/1.02, allocations: 0.8435 MB / 0.8417 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004968/1.02, allocations: 63.36 kB / 0.8417 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/1.021, allocations: 155.4 kB / 0.8419 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of SimCode: time 1.713e-06/1.021, allocations: 3.938 kB / 0.8419 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/1.06, allocations: 9.237 MB / 0.8509 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/1.061, allocations: 199.9 kB / 0.8511 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/4.291, allocations: 0 / 0.8511 GB, free: 1.781 MB / 0.6667 GB