Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007883/0.0007884, allocations: 102.2 kB / 15.71 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009106/0.0009108, allocations: 175.2 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.626/2.626, allocations: 390.4 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 16 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9553/0.9557, allocations: 142.3 MB / 0.9544 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002174/0.9579, allocations: 1.689 MB / 0.9561 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.959, allocations: 0.6677 MB / 0.9567 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.9591, allocations: 3.969 kB / 0.9567 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.9593, allocations: 27.11 kB / 0.9568 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.9594, allocations: 27.34 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.9597, allocations: 107.9 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.9601, allocations: 347.9 kB / 0.9572 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.9605, allocations: 201.3 kB / 0.9574 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.9606, allocations: 96.72 kB / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.9608, allocations: 111.3 kB / 0.9576 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.9608, allocations: 13.62 kB / 0.9576 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.9609, allocations: 24.55 kB / 0.9576 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.961, allocations: 58.62 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.961, allocations: 71.33 kB / 0.9578 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.9613, allocations: 306 kB / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.9613, allocations: 3.938 kB / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9613, allocations: 0 / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9613, allocations: 1.188 kB / 0.9581 GB, free: 5.453 MB / 0.7169 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.0008071/0.9622, allocations: 0.5463 MB / 0.9586 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9622, allocations: 8.844 kB / 0.9586 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.9623, allocations: 32.34 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.9626, allocations: 268.8 kB / 0.9589 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.9626, allocations: 28.34 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.9627, allocations: 29.19 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.9633, allocations: 345.6 kB / 0.9593 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.9633, allocations: 5.75 kB / 0.9593 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.9633, allocations: 9.75 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.9633, allocations: 11.2 kB / 0.9593 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.9639, allocations: 256.7 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.9651, allocations: 0.956 MB / 0.9605 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.9657, allocations: 275.5 kB / 0.9607 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.966, allocations: 125.4 kB / 0.9609 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.966, allocations: 6.797 kB / 0.9609 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004221/0.9664, allocations: 179.5 kB / 0.961 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.9665, allocations: 0 / 0.961 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0008139/0.9673, allocations: 379 kB / 0.9614 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.9673, allocations: 56.41 kB / 0.9615 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.9675, allocations: 207 kB / 0.9617 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.9676, allocations: 39.45 kB / 0.9617 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.9676, allocations: 150.2 kB / 0.9618 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.9677, allocations: 86.39 kB / 0.9619 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.9677, allocations: 5.281 kB / 0.9619 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.9678, allocations: 336.7 kB / 0.9622 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.9681, allocations: 108.1 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.9684, allocations: 177.3 kB / 0.9625 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.9686, allocations: 135.5 kB / 0.9626 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9686, allocations: 1 kB / 0.9626 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006598/0.9693, allocations: 373.9 kB / 0.963 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.9694, allocations: 32.55 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9694, allocations: 1.344 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9694, allocations: 7.328 kB / 0.963 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.9696, allocations: 46.72 kB / 0.9631 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.9696, allocations: 11.52 kB / 0.9631 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.9699, allocations: 58.03 kB / 0.9631 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.9699, allocations: 14.91 kB / 0.9632 GB, free: 1.57 MB / 0.7169 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.000171/0.9701, allocations: 175.4 kB / 0.9633 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.9701, allocations: 25.66 kB / 0.9634 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.9708, allocations: 315.1 kB / 0.9637 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.9708, allocations: 3.594 kB / 0.9637 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9708, allocations: 5.328 kB / 0.9637 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.9708, allocations: 3.984 kB / 0.9637 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.9718, allocations: 0.7569 MB / 0.9644 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9718, allocations: 0 / 0.9644 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.972, allocations: 38.23 kB / 0.9644 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.972, allocations: 5.547 kB / 0.9644 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.972, allocations: 10.42 kB / 0.9645 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.972, allocations: 1.344 kB / 0.9645 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.972, allocations: 0 / 0.9645 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.9725, allocations: 383.2 kB / 0.9648 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.9726, allocations: 103.5 kB / 0.9649 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.9726, allocations: 10.64 kB / 0.9649 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.9729, allocations: 37.31 kB / 0.965 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.973, allocations: 41.12 kB / 0.965 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.973, allocations: 15.14 kB / 0.965 GB, free: 196 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.518e-05/0.9731, allocations: 125.9 kB / 0.9651 GB, free: 96 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9731, allocations: 1 kB / 0.9651 GB, free: 96 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003525/0.9735, allocations: 64.5 kB / 0.9652 GB, free: 80 kB / 0.7169 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.0002283/0.9737, allocations: 135.9 kB / 0.9653 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006908/0.9744, allocations: 335 kB / 0.9657 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9744, allocations: 1.031 kB / 0.9657 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.9747, allocations: 144.2 kB / 0.9658 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.9751, allocations: 29.02 kB / 0.9658 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.9761, allocations: 0.5459 MB / 0.9664 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.9766, allocations: 0.7552 MB / 0.9671 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.9767, allocations: 28.81 kB / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.9767, allocations: 0 / 0.9671 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.006939/0.9836, allocations: 3.446 MB / 0.9705 GB, free: 12.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o] Error 1