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.00102/0.00102, allocations: 99.2 kB / 15.71 MB, free: 452 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.001332/0.001333, allocations: 176.5 kB / 16.58 MB, free: 6.422 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.834/1.834, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.832/1.832, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.000774/0.0007742, allocations: 17.12 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3296, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002771/0.3325, allocations: 1.696 MB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3338, allocations: 0.7142 MB / 0.7903 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3339, allocations: 8 kB / 0.7903 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.3341, allocations: 27.73 kB / 0.7903 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3342, allocations: 23.78 kB / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.3346, allocations: 103.9 kB / 0.7904 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.3351, allocations: 351.2 kB / 0.7908 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.3354, allocations: 182.5 kB / 0.7909 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3356, allocations: 103.6 kB / 0.791 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3357, allocations: 115.5 kB / 0.7912 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.3358, allocations: 15.94 kB / 0.7912 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.3358, allocations: 16 kB / 0.7912 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.3359, allocations: 55.81 kB / 0.7912 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.336, allocations: 65.58 kB / 0.7913 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.3364, allocations: 307.5 kB / 0.7916 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3364, allocations: 4 kB / 0.7916 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3364, allocations: 0 / 0.7916 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3364, allocations: 0 / 0.7916 GB, free: 8.141 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.000963/0.3374, allocations: 0.5482 MB / 0.7921 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3374, allocations: 15.97 kB / 0.7921 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.3375, allocations: 39.52 kB / 0.7922 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.3379, allocations: 258.6 kB / 0.7924 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.3379, allocations: 28.66 kB / 0.7925 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.338, allocations: 36 kB / 0.7925 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.3387, allocations: 340.8 kB / 0.7928 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3387, allocations: 0 / 0.7928 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3388, allocations: 15.94 kB / 0.7928 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3388, allocations: 4 kB / 0.7928 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.3394, allocations: 262.1 kB / 0.7931 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3411, allocations: 0.9589 MB / 0.794 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.3418, allocations: 281.8 kB / 0.7943 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.3421, allocations: 128.7 kB / 0.7944 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3421, allocations: 8 kB / 0.7944 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.3426, allocations: 191.2 kB / 0.7946 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.3426, allocations: 0 / 0.7946 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0008306/0.3434, allocations: 359.4 kB / 0.795 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.3435, allocations: 63.41 kB / 0.795 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3437, allocations: 203.2 kB / 0.7952 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.3438, allocations: 41.7 kB / 0.7952 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.344, allocations: 148.6 kB / 0.7954 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.3441, allocations: 86.83 kB / 0.7955 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.3441, allocations: 8 kB / 0.7955 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3443, allocations: 334.8 kB / 0.7958 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3445, allocations: 120.8 kB / 0.7959 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3449, allocations: 161.5 kB / 0.7961 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3452, allocations: 137.6 kB / 0.7962 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3452, allocations: 0 / 0.7962 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007199/0.3459, allocations: 374.8 kB / 0.7966 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/0.346, allocations: 41.62 kB / 0.7966 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.346, allocations: 0 / 0.7966 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.346, allocations: 4 kB / 0.7966 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.3463, allocations: 47.91 kB / 0.7966 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.3463, allocations: 12.08 kB / 0.7967 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.3465, allocations: 59.66 kB / 0.7967 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3466, allocations: 19.95 kB / 0.7967 GB, free: 2.609 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,$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.0002112/0.3468, allocations: 174.4 kB / 0.7969 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3469, allocations: 23.72 kB / 0.7969 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.3477, allocations: 308.6 kB / 0.7972 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3477, allocations: 7.938 kB / 0.7972 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3477, allocations: 4 kB / 0.7972 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3477, allocations: 0 / 0.7972 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3491, allocations: 0.7636 MB / 0.798 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3491, allocations: 0 / 0.798 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3492, allocations: 27.98 kB / 0.798 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3493, allocations: 0 / 0.798 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.3493, allocations: 11.98 kB / 0.798 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3493, allocations: 3.953 kB / 0.798 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3493, allocations: 3.938 kB / 0.798 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.3499, allocations: 383 kB / 0.7984 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.35, allocations: 100.8 kB / 0.7985 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.35, allocations: 4 kB / 0.7985 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3502, allocations: 43.95 kB / 0.7985 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3504, allocations: 43.89 kB / 0.7986 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3504, allocations: 12 kB / 0.7986 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000121/0.3505, allocations: 131.7 kB / 0.7987 GB, free: 500 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3505, allocations: 4 kB / 0.7987 GB, free: 496 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003671/0.3509, allocations: 67.83 kB / 0.7988 GB, free: 428 kB / 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 (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.0002357/0.3512, allocations: 125.4 kB / 0.7989 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007298/0.3519, allocations: 332.4 kB / 0.7992 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3519, allocations: 4.062 kB / 0.7992 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.3522, allocations: 143.8 kB / 0.7993 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3526, allocations: 34.55 kB / 0.7994 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.3536, allocations: 0.5444 MB / 0.7999 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.3543, allocations: 0.7525 MB / 0.8006 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.3544, allocations: 35.42 kB / 0.8007 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.3544, allocations: 0 / 0.8007 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.006129/0.3605, allocations: 3.436 MB / 0.804 GB, free: 10.96 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++ 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_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