Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009115/0.009115, allocations: 100.6 kB / 15.87 MB, free: 6.305 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.001799/0.001799, allocations: 193.9 kB / 16.79 MB, free: 6.234 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.815/1.815, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.886/1.886, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001375/0.001376, allocations: 66.3 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3195, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00447/0.324, allocations: 2.521 MB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3265, allocations: 1.465 MB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.3267, allocations: 7.938 kB / 0.7872 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.3277, allocations: 311.5 kB / 0.7875 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.3281, allocations: 199.3 kB / 0.7877 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.3288, allocations: 211.8 kB / 0.7879 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.3292, allocations: 374.7 kB / 0.7883 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3294, allocations: 72.92 kB / 0.7883 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3296, allocations: 143.2 kB / 0.7885 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.3298, allocations: 159.2 kB / 0.7886 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3298, allocations: 8 kB / 0.7886 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.33, allocations: 71.89 kB / 0.7887 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3302, allocations: 123.5 kB / 0.7888 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3304, allocations: 170.7 kB / 0.789 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.3308, allocations: 387.1 kB / 0.7894 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3308, allocations: 0 / 0.7894 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3308, allocations: 0 / 0.7894 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3308, allocations: 0 / 0.7894 GB, free: 7.809 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001356/0.3322, allocations: 0.8335 MB / 0.7902 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3322, allocations: 8.031 kB / 0.7902 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3324, allocations: 68.17 kB / 0.7902 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.333, allocations: 424.9 kB / 0.7906 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.333, allocations: 15.94 kB / 0.7907 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.3331, allocations: 12 kB / 0.7907 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.3334, allocations: 133 kB / 0.7908 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3334, allocations: 0 / 0.7908 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3335, allocations: 4 kB / 0.7908 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3335, allocations: 11.94 kB / 0.7908 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.3337, allocations: 71.89 kB / 0.7909 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009975/0.3347, allocations: 0.5744 MB / 0.7914 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.335, allocations: 126.7 kB / 0.7916 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3352, allocations: 48.83 kB / 0.7916 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3352, allocations: 3.938 kB / 0.7916 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.3355, allocations: 123.3 kB / 0.7917 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3355, allocations: 0 / 0.7917 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005306/0.336, allocations: 237 kB / 0.792 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3361, allocations: 77.11 kB / 0.792 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.3369, allocations: 0.6837 MB / 0.7927 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3369, allocations: 29.7 kB / 0.7927 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.3371, allocations: 264.3 kB / 0.793 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.3372, allocations: 39.55 kB / 0.793 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.3373, allocations: 57.69 kB / 0.7931 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3375, allocations: 366.8 kB / 0.7934 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3377, allocations: 71.97 kB / 0.7935 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3379, allocations: 132.5 kB / 0.7936 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.3381, allocations: 131.5 kB / 0.7937 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3382, allocations: 7.938 kB / 0.7938 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004536/0.3386, allocations: 271.6 kB / 0.794 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3386, allocations: 8 kB / 0.794 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3387, allocations: 0 / 0.794 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3387, allocations: 3.938 kB / 0.794 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3388, allocations: 31.98 kB / 0.7941 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3389, allocations: 8.062 kB / 0.7941 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.339, allocations: 19.89 kB / 0.7941 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3391, allocations: 8 kB / 0.7941 GB, free: 2.695 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0002366/0.3393, allocations: 207.5 kB / 0.7943 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.3394, allocations: 59.28 kB / 0.7943 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3395, allocations: 64.97 kB / 0.7944 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3395, allocations: 0 / 0.7944 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3395, allocations: 4 kB / 0.7944 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3395, allocations: 0 / 0.7944 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3399, allocations: 377.3 kB / 0.7948 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3399, allocations: 7.875 kB / 0.7948 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.34, allocations: 8 kB / 0.7948 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.34, allocations: 7.938 kB / 0.7948 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.34, allocations: 3.984 kB / 0.7948 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.34, allocations: 0 / 0.7948 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.34, allocations: 0 / 0.7948 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3404, allocations: 223.7 kB / 0.795 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3405, allocations: 136.3 kB / 0.7951 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.3406, allocations: 8 kB / 0.7951 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3407, allocations: 7.984 kB / 0.7952 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.3408, allocations: 19.97 kB / 0.7952 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3408, allocations: 4 kB / 0.7952 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005239/0.3413, allocations: 471 kB / 0.7956 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3414, allocations: 0 / 0.7956 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003118/0.3417, allocations: 67.92 kB / 0.7957 GB, free: 0.957 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001056/0.3427, allocations: 428.3 kB / 0.7961 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.3431, allocations: 152.4 kB / 0.7962 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3431, allocations: 0 / 0.7962 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3433, allocations: 63.89 kB / 0.7963 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.3438, allocations: 94.98 kB / 0.7964 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3452, allocations: 0.9852 MB / 0.7974 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.3458, allocations: 0.8613 MB / 0.7982 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3459, allocations: 35.42 kB / 0.7982 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of SimCode: time 8.81e-07/0.3459, allocations: 0 / 0.7982 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.008891/0.3548, allocations: 5.717 MB / 0.8038 GB, free: 8.766 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.o] Error 1