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.01018/0.01018, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001657, allocations: 191.5 kB / 16.79 MB, free: 5.809 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.818/1.818, allocations: 205.1 MB / 222.6 MB, free: 4.676 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.835/1.835, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001412/0.001412, allocations: 64.56 kB / 0.6715 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004078/0.3331, allocations: 2.115 MB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3347, allocations: 0.7335 MB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3348, allocations: 11.94 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.335, allocations: 19.8 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3352, allocations: 27.78 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.3356, allocations: 143.9 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.3361, allocations: 371.2 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.3365, allocations: 224.5 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3366, allocations: 115.6 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.3368, allocations: 135.3 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.3369, allocations: 20 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.337, allocations: 31.98 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.3371, allocations: 59.81 kB / 0.7872 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.3373, allocations: 131.3 kB / 0.7873 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.3376, allocations: 319.4 kB / 0.7876 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3377, allocations: 4 kB / 0.7877 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3377, allocations: 3.938 kB / 0.7877 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.3377, allocations: 0 / 0.7877 GB, free: 9.527 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.001149/0.3388, allocations: 0.5989 MB / 0.7882 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3389, allocations: 8.031 kB / 0.7883 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.871e-05/0.339, allocations: 36.56 kB / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.3394, allocations: 267.8 kB / 0.7885 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.3395, allocations: 33.03 kB / 0.7886 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.3395, allocations: 36.36 kB / 0.7886 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.3402, allocations: 337.1 kB / 0.7889 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3403, allocations: 0 / 0.7889 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.3403, allocations: 12 kB / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3403, allocations: 4 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.3409, allocations: 258.1 kB / 0.7892 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3425, allocations: 0.951 MB / 0.7901 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.3432, allocations: 270.8 kB / 0.7904 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.3435, allocations: 116.8 kB / 0.7905 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3435, allocations: 8 kB / 0.7905 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.344, allocations: 187.2 kB / 0.7907 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.344, allocations: 0 / 0.7907 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0008711/0.3449, allocations: 350.6 kB / 0.791 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.345, allocations: 59.41 kB / 0.7911 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3452, allocations: 203.9 kB / 0.7913 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.3453, allocations: 37.7 kB / 0.7913 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3454, allocations: 152.6 kB / 0.7914 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.3455, allocations: 82.84 kB / 0.7915 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3456, allocations: 86.12 kB / 0.7916 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3458, allocations: 338.8 kB / 0.7919 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3461, allocations: 108.8 kB / 0.792 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.3464, allocations: 177.4 kB / 0.7922 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.3469, allocations: 262.7 kB / 0.7924 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3469, allocations: 0 / 0.7924 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007222/0.3476, allocations: 366.8 kB / 0.7928 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.3477, allocations: 33.7 kB / 0.7928 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3477, allocations: 0 / 0.7928 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.3478, allocations: 8.156 kB / 0.7928 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.348, allocations: 47.91 kB / 0.7929 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.348, allocations: 4 kB / 0.7929 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.3483, allocations: 47.66 kB / 0.7929 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.3483, allocations: 19.98 kB / 0.793 GB, free: 3.805 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.0002529/0.3486, allocations: 183.4 kB / 0.7931 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3487, allocations: 27.7 kB / 0.7932 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.3494, allocations: 296 kB / 0.7934 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3494, allocations: 4 kB / 0.7934 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3494, allocations: 0 / 0.7934 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3494, allocations: 0 / 0.7934 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3507, allocations: 0.7519 MB / 0.7942 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3507, allocations: 0 / 0.7942 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3509, allocations: 31.91 kB / 0.7942 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3509, allocations: 4 kB / 0.7942 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.3509, allocations: 4 kB / 0.7942 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3509, allocations: 7.938 kB / 0.7942 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3509, allocations: 4 kB / 0.7942 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.3516, allocations: 371 kB / 0.7946 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.3517, allocations: 96.8 kB / 0.7947 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.3517, allocations: 12 kB / 0.7947 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.352, allocations: 39.89 kB / 0.7947 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.3521, allocations: 35.95 kB / 0.7948 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3521, allocations: 11.98 kB / 0.7948 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3523, allocations: 135.7 kB / 0.7949 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3523, allocations: 0 / 0.7949 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000348/0.3526, allocations: 71.75 kB / 0.795 GB, free: 1.645 MB / 0.6075 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.0002261/0.3529, allocations: 130.3 kB / 0.7951 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007371/0.3536, allocations: 331.8 kB / 0.7954 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3536, allocations: 0 / 0.7954 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.3539, allocations: 135.8 kB / 0.7955 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3543, allocations: 33.98 kB / 0.7956 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3554, allocations: 0.5534 MB / 0.7961 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3558, allocations: 0.7603 MB / 0.7968 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.3559, allocations: 27.42 kB / 0.7969 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.3559, allocations: 4 kB / 0.7969 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.006366/0.3623, allocations: 3.466 MB / 0.8003 GB, free: 12.15 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