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.0008979/0.0008979, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009448/0.0009449, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.893/1.893, allocations: 205.4 MB / 223.1 MB, free: 5.762 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.926/1.926, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0006423/0.0006428, allocations: 12.84 kB / 0.675 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3257, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00441/0.3302, allocations: 2.144 MB / 0.7906 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.3332, allocations: 1.446 MB / 0.7921 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.3335, allocations: 7.938 kB / 0.7921 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.3349, allocations: 310.4 kB / 0.7924 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.3354, allocations: 191.3 kB / 0.7925 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.3363, allocations: 214.5 kB / 0.7927 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.3369, allocations: 374.8 kB / 0.7931 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3371, allocations: 76.84 kB / 0.7932 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3374, allocations: 143.2 kB / 0.7933 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.3376, allocations: 151.2 kB / 0.7935 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3377, allocations: 4 kB / 0.7935 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.3379, allocations: 67.89 kB / 0.7935 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.3382, allocations: 111.6 kB / 0.7936 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.3385, allocations: 208.2 kB / 0.7938 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.339, allocations: 371.1 kB / 0.7942 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.339, allocations: 0 / 0.7942 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.339, allocations: 0 / 0.7942 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.339, allocations: 0 / 0.7942 GB, free: 5.766 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.001528/0.3405, allocations: 0.7522 MB / 0.7949 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3406, allocations: 15.97 kB / 0.7949 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3407, allocations: 60.19 kB / 0.795 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.3414, allocations: 432.9 kB / 0.7954 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3414, allocations: 15.92 kB / 0.7954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3414, allocations: 12 kB / 0.7954 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.3418, allocations: 141.7 kB / 0.7956 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3418, allocations: 0 / 0.7956 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3418, allocations: 8 kB / 0.7956 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.3418, allocations: 3.938 kB / 0.7956 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.342, allocations: 67.97 kB / 0.7956 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3431, allocations: 0.5784 MB / 0.7962 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3435, allocations: 126.7 kB / 0.7963 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.3437, allocations: 40.84 kB / 0.7964 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.3437, allocations: 4 kB / 0.7964 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.344, allocations: 115.2 kB / 0.7965 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.344, allocations: 0 / 0.7965 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005494/0.3446, allocations: 239.7 kB / 0.7967 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3447, allocations: 81.11 kB / 0.7968 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.3456, allocations: 0.6837 MB / 0.7975 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.3456, allocations: 29.7 kB / 0.7975 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.3459, allocations: 276.2 kB / 0.7977 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.346, allocations: 35.62 kB / 0.7978 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.3461, allocations: 33.7 kB / 0.7978 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.3463, allocations: 366.8 kB / 0.7982 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3465, allocations: 75.95 kB / 0.7982 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3467, allocations: 125 kB / 0.7984 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.347, allocations: 141.5 kB / 0.7985 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.347, allocations: 7.875 kB / 0.7985 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005731/0.3476, allocations: 268.8 kB / 0.7988 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3477, allocations: 4 kB / 0.7988 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3477, allocations: 0 / 0.7988 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3477, allocations: 8.062 kB / 0.7988 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3479, allocations: 31.92 kB / 0.7988 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3479, allocations: 4 kB / 0.7988 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3481, allocations: 23.94 kB / 0.7988 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.3482, allocations: 11.98 kB / 0.7988 GB, free: 0.7422 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.0003071/0.3485, allocations: 215.5 kB / 0.799 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.3485, allocations: 63.27 kB / 0.7991 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3487, allocations: 57.05 kB / 0.7992 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3487, allocations: 0 / 0.7992 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3487, allocations: 4 kB / 0.7992 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3487, allocations: 0 / 0.7992 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.3491, allocations: 373.3 kB / 0.7995 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3491, allocations: 3.938 kB / 0.7995 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.3492, allocations: 8 kB / 0.7995 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3492, allocations: 0 / 0.7995 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3492, allocations: 3.984 kB / 0.7995 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3492, allocations: 0 / 0.7995 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3492, allocations: 8 kB / 0.7995 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3496, allocations: 216.4 kB / 0.7997 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3497, allocations: 140.3 kB / 0.7999 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3498, allocations: 4 kB / 0.7999 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3499, allocations: 19.92 kB / 0.7999 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.35, allocations: 15.98 kB / 0.7999 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.3501, allocations: 11.98 kB / 0.7999 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005873/0.3506, allocations: 467 kB / 0.8004 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3507, allocations: 0 / 0.8004 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000365/0.351, allocations: 63.94 kB / 0.8004 GB, free: 15 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: 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.00135/0.3524, allocations: 433 kB / 0.8008 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3528, allocations: 152.4 kB / 0.801 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3528, allocations: 0 / 0.801 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3529, allocations: 56.67 kB / 0.801 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.3535, allocations: 94.84 kB / 0.8011 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3554, allocations: 1.014 MB / 0.8021 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.3561, allocations: 0.8691 MB / 0.803 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3563, allocations: 31.42 kB / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.3563, allocations: 0 / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of Templates: time 0.01202/0.3683, allocations: 5.707 MB / 0.8086 GB, free: 6.793 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