Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001386/0.001385, allocations: 91.69 kB / 16.02 MB, free: 80 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.002015/0.002015, allocations: 181.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 223.1 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005755/0.0005756, allocations: 17.28 kB / 0.675 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3467, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003053/0.3498, allocations: 1.742 MB / 0.7902 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3513, allocations: 0.7374 MB / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3514, allocations: 4 kB / 0.791 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.3516, allocations: 19.8 kB / 0.791 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3517, allocations: 23.78 kB / 0.791 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.3521, allocations: 147.8 kB / 0.7912 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.3526, allocations: 375.2 kB / 0.7915 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.353, allocations: 200.1 kB / 0.7917 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3532, allocations: 99.58 kB / 0.7918 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3534, allocations: 115.4 kB / 0.7919 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3534, allocations: 16 kB / 0.7919 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3535, allocations: 23.98 kB / 0.7919 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3536, allocations: 55.75 kB / 0.792 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3537, allocations: 145 kB / 0.7921 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.3541, allocations: 307.2 kB / 0.7924 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3541, allocations: 3.984 kB / 0.7924 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3541, allocations: 0 / 0.7924 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3541, allocations: 0 / 0.7924 GB, free: 7.562 MB / 0.6075 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.0009523/0.3551, allocations: 0.5483 MB / 0.793 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3552, allocations: 11.97 kB / 0.793 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.3552, allocations: 36.55 kB / 0.793 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3556, allocations: 263.9 kB / 0.7933 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.3556, allocations: 28.97 kB / 0.7933 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.3557, allocations: 40.3 kB / 0.7933 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.3564, allocations: 345.1 kB / 0.7937 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3564, allocations: 0 / 0.7937 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.3564, allocations: 12 kB / 0.7937 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3565, allocations: 8 kB / 0.7937 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.3571, allocations: 262.1 kB / 0.7939 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3586, allocations: 0.9588 MB / 0.7949 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.3593, allocations: 281.9 kB / 0.7951 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.3596, allocations: 128.8 kB / 0.7953 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3596, allocations: 8 kB / 0.7953 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.3601, allocations: 187.2 kB / 0.7954 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.3601, allocations: 0 / 0.7954 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0008864/0.361, allocations: 366.6 kB / 0.7958 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.361, allocations: 59.41 kB / 0.7959 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3613, allocations: 199.9 kB / 0.796 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.3613, allocations: 45.69 kB / 0.7961 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3614, allocations: 148.6 kB / 0.7962 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.3615, allocations: 86.84 kB / 0.7963 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.3616, allocations: 53.69 kB / 0.7964 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3618, allocations: 342.8 kB / 0.7967 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3621, allocations: 112.8 kB / 0.7968 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3624, allocations: 173.5 kB / 0.797 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.3629, allocations: 274.7 kB / 0.7972 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.363, allocations: 0 / 0.7972 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007195/0.3637, allocations: 374.8 kB / 0.7976 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3637, allocations: 37.69 kB / 0.7976 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3637, allocations: 0 / 0.7976 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3638, allocations: 4 kB / 0.7976 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.364, allocations: 52.06 kB / 0.7977 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.364, allocations: 7.938 kB / 0.7977 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.3643, allocations: 51.66 kB / 0.7977 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3643, allocations: 19.94 kB / 0.7977 GB, free: 1.82 MB / 0.6075 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.condition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.condition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.3646, allocations: 183.4 kB / 0.7979 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3646, allocations: 23.72 kB / 0.7979 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.3653, allocations: 304.1 kB / 0.7982 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3653, allocations: 11.94 kB / 0.7982 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3653, allocations: 4 kB / 0.7982 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3653, allocations: 4 kB / 0.7983 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3666, allocations: 0.7675 MB / 0.799 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3666, allocations: 0 / 0.799 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3668, allocations: 31.97 kB / 0.799 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3668, allocations: 3.938 kB / 0.799 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.3668, allocations: 8 kB / 0.799 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3668, allocations: 3.938 kB / 0.799 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3668, allocations: 0 / 0.799 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3674, allocations: 387 kB / 0.7994 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.3675, allocations: 92.86 kB / 0.7995 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3676, allocations: 12 kB / 0.7995 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3678, allocations: 47.89 kB / 0.7996 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.368, allocations: 35.95 kB / 0.7996 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.368, allocations: 4 kB / 0.7996 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3681, allocations: 143.7 kB / 0.7997 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3681, allocations: 0 / 0.7997 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000351/0.3685, allocations: 75.69 kB / 0.7998 GB, free: 15.61 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/0.3687, allocations: 121.4 kB / 0.7999 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007555/0.3695, allocations: 343.9 kB / 0.8003 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3695, allocations: 0 / 0.8003 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3698, allocations: 143.8 kB / 0.8004 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3702, allocations: 31.97 kB / 0.8004 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3713, allocations: 0.5642 MB / 0.801 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3717, allocations: 0.7603 MB / 0.8017 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.3719, allocations: 27.42 kB / 0.8017 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3719, allocations: 0 / 0.8017 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.008164/0.38, allocations: 3.432 MB / 0.8051 GB, free: 10.12 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControlCalcHelperMain.o] Error 1