Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009351/0.000935, allocations: 102.6 kB / 15.71 MB, free: 460 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.001076/0.001077, allocations: 176 kB / 16.58 MB, free: 6.859 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.585/1.585, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 436.7 MB / 0.7113 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 0.8717 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8058, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002601/0.8085, allocations: 1.696 MB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.8098, allocations: 0.6666 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.81, allocations: 8 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.8102, allocations: 27.73 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.8103, allocations: 27.72 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.8107, allocations: 99.88 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.8111, allocations: 355.2 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.8115, allocations: 194.5 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.8117, allocations: 95.62 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.8118, allocations: 119.4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.8119, allocations: 12 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.812, allocations: 16 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.8121, allocations: 51.83 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.235e-05/0.8121, allocations: 69.58 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.8125, allocations: 317.2 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.8125, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.679e-06/0.8125, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8125, allocations: 3.938 kB / 1.025 GB, free: 13.39 MB / 0.7794 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.001062/0.8136, allocations: 0.5443 MB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.8137, allocations: 12.03 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.8138, allocations: 31.62 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.8141, allocations: 258.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.8142, allocations: 36.59 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.8142, allocations: 39.92 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.8149, allocations: 336.9 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8149, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.815, allocations: 12 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.815, allocations: 4 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.8156, allocations: 258.1 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.817, allocations: 0.9591 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.8177, allocations: 279 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.8179, allocations: 128.8 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.818, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.8184, allocations: 179.2 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 2.595e-06/0.8184, allocations: 3.938 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0008514/0.8193, allocations: 366 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.8193, allocations: 59.41 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.8195, allocations: 203.3 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.8196, allocations: 49.69 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.8197, allocations: 152.5 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.8198, allocations: 82.94 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.8198, allocations: 4 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.82, allocations: 338.8 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.8202, allocations: 112.8 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.8206, allocations: 169.5 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.8208, allocations: 137.6 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8208, allocations: 0 / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006687/0.8215, allocations: 386.6 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.8216, allocations: 33.7 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8216, allocations: 0 / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.8216, allocations: 4 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.8218, allocations: 47.84 kB / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8219, allocations: 0 / 1.03 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.8221, allocations: 67.67 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.8221, allocations: 16 kB / 1.03 GB, free: 7.875 MB / 0.7794 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.0001833/0.8223, allocations: 165.8 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.8224, allocations: 31.66 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.823, allocations: 307.2 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.823, allocations: 4 kB / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.823, allocations: 0 / 1.031 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.8231, allocations: 4 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.8242, allocations: 0.7724 MB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8242, allocations: 0 / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.8244, allocations: 39.97 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8244, allocations: 0 / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.8244, allocations: 8 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8244, allocations: 0 / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8244, allocations: 3.938 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.825, allocations: 379.1 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.8251, allocations: 100.8 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.8252, allocations: 11.92 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.8254, allocations: 35.97 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.8255, allocations: 43.94 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.8256, allocations: 12 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001249/0.8257, allocations: 135.7 kB / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8257, allocations: 0 / 1.032 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003532/0.826, allocations: 63.84 kB / 1.033 GB, free: 5.68 MB / 0.7794 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.0002051/0.8263, allocations: 125.7 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006514/0.8269, allocations: 339.1 kB / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8269, allocations: 0 / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.8272, allocations: 148.1 kB / 1.033 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.8276, allocations: 41.22 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.8286, allocations: 0.5405 MB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.829, allocations: 0.7563 MB / 1.034 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.8291, allocations: 35.42 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8291, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.005813/0.8349, allocations: 3.441 MB / 1.038 GB, free: 212 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o] Error 1