Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",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.01025/0.01025, allocations: 88.05 kB / 15.04 MB, free: 5.582 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.001328/0.001328, allocations: 172 kB / 15.92 MB, free: 5.555 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.069/2.069, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.476/2.476, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004617, allocations: 12.5 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2731, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003214/0.2763, allocations: 1.692 MB / 0.7297 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2783, allocations: 0.7298 MB / 0.7304 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2786, allocations: 7.938 kB / 0.7304 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2787, allocations: 23.73 kB / 0.7305 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2789, allocations: 31.88 kB / 0.7305 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.2795, allocations: 107.9 kB / 0.7306 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00047/0.28, allocations: 231.5 kB / 0.7308 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.2804, allocations: 190.5 kB / 0.731 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.2806, allocations: 91.64 kB / 0.7311 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2809, allocations: 115.4 kB / 0.7312 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.2809, allocations: 12 kB / 0.7312 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.281, allocations: 16 kB / 0.7312 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.2811, allocations: 51.81 kB / 0.7313 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.2812, allocations: 73.58 kB / 0.7313 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.2818, allocations: 311.5 kB / 0.7316 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2818, allocations: 0 / 0.7316 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2818, allocations: 4 kB / 0.7316 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.2818, allocations: 0 / 0.7316 GB, free: 6.461 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001328/0.2832, allocations: 0.5365 MB / 0.7322 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2832, allocations: 12.03 kB / 0.7322 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.2834, allocations: 74.48 kB / 0.7323 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.2835, allocations: 35.56 kB / 0.7323 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.2839, allocations: 258.7 kB / 0.7325 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.284, allocations: 28.59 kB / 0.7326 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.2841, allocations: 32 kB / 0.7326 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2851, allocations: 332.8 kB / 0.7329 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2851, allocations: 4 kB / 0.7329 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.2852, allocations: 12 kB / 0.7329 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2852, allocations: 7.953 kB / 0.7329 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2862, allocations: 266 kB / 0.7332 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.2885, allocations: 0.9552 MB / 0.7341 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2896, allocations: 281.2 kB / 0.7344 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.2896, allocations: 7.938 kB / 0.7344 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006774/0.2903, allocations: 184.2 kB / 0.7346 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 4.168e-06/0.2903, allocations: 0 / 0.7346 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.001393/0.2917, allocations: 369.3 kB / 0.7349 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.2918, allocations: 63.39 kB / 0.735 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.2921, allocations: 199.8 kB / 0.7352 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.2922, allocations: 45.62 kB / 0.7352 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2923, allocations: 156.5 kB / 0.7354 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2924, allocations: 78.94 kB / 0.7354 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.2925, allocations: 12 kB / 0.7355 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2926, allocations: 330.8 kB / 0.7358 GB, free: 2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.2931, allocations: 116.8 kB / 0.7359 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.2936, allocations: 173.4 kB / 0.736 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.2941, allocations: 137.6 kB / 0.7362 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2941, allocations: 0 / 0.7362 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001163/0.2953, allocations: 382.6 kB / 0.7365 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.2954, allocations: 33.7 kB / 0.7366 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2954, allocations: 0 / 0.7366 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2954, allocations: 4 kB / 0.7366 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.2958, allocations: 59.94 kB / 0.7366 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2958, allocations: 3.953 kB / 0.7366 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.2963, allocations: 63.55 kB / 0.7367 GB, free: 1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.2963, allocations: 16 kB / 0.7367 GB, free: 0.9844 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0002751/0.2966, allocations: 177.8 kB / 0.7369 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.2967, allocations: 19.81 kB / 0.7369 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.2977, allocations: 302.3 kB / 0.7372 GB, free: 492 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2978, allocations: 8 kB / 0.7372 GB, free: 484 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2978, allocations: 0 / 0.7372 GB, free: 484 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2978, allocations: 7.938 kB / 0.7372 GB, free: 476 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.2996, allocations: 0.7569 MB / 0.7379 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2997, allocations: 0 / 0.7379 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.2999, allocations: 31.97 kB / 0.738 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.3, allocations: 3.953 kB / 0.738 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.3, allocations: 8 kB / 0.738 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.3, allocations: 3.938 kB / 0.738 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3, allocations: 0 / 0.738 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.301, allocations: 379.4 kB / 0.7384 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.3011, allocations: 100.8 kB / 0.7384 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.3012, allocations: 15.94 kB / 0.7385 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.3016, allocations: 39.97 kB / 0.7385 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.3018, allocations: 39.94 kB / 0.7385 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3018, allocations: 15.98 kB / 0.7386 GB, free: 14.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001488/0.302, allocations: 131.2 kB / 0.7387 GB, free: 14.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.302, allocations: 0 / 0.7387 GB, free: 14.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004961/0.3025, allocations: 67.84 kB / 0.7387 GB, free: 14.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001382/0.3039, allocations: 0.9417 MB / 0.7397 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.305, allocations: 343.1 kB / 0.74 GB, free: 13.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.305, allocations: 320 / 0.74 GB, free: 13.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3055, allocations: 139.9 kB / 0.7401 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3059, allocations: 36 kB / 0.7402 GB, free: 13.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.3099, allocations: 2.181 MB / 0.7423 GB, free: 11.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3104, allocations: 0.772 MB / 0.743 GB, free: 10.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.3106, allocations: 26.28 kB / 0.7431 GB, free: 10.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.3109, allocations: 91.39 kB / 0.7432 GB, free: 10.14 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/0.3109, allocations: 0 / 0.7432 GB, free: 10.14 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3413, allocations: 5.049 MB / 0.7481 GB, free: 5.215 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004064/0.3418, allocations: 203.4 kB / 0.7483 GB, free: 4.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.03, allocations: 0 / 0.7483 GB, free: 4.98 MB / 0.573 GB