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.001222/0.001222, allocations: 100.1 kB / 15.71 MB, free: 448 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.001584/0.001584, allocations: 175.3 kB / 16.59 MB, free: 6.426 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.629 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.819/1.819, 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.0008034/0.0008035, allocations: 17.06 kB / 0.6744 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3016, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003729/0.3054, allocations: 2.094 MB / 0.79 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3081, allocations: 1.376 MB / 0.7913 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.3085, allocations: 7.938 kB / 0.7913 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3096, allocations: 295 kB / 0.7916 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3101, allocations: 179.3 kB / 0.7918 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.3107, allocations: 198.5 kB / 0.792 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.3111, allocations: 346.8 kB / 0.7923 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3113, allocations: 56.89 kB / 0.7924 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.3115, allocations: 135.3 kB / 0.7925 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3117, allocations: 147.3 kB / 0.7926 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.3118, allocations: 8 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.312, allocations: 63.89 kB / 0.7927 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3121, allocations: 115.6 kB / 0.7928 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.3122, allocations: 93.39 kB / 0.7929 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.3126, allocations: 383.3 kB / 0.7933 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3126, allocations: 0 / 0.7933 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3126, allocations: 0 / 0.7933 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.86e-06/0.3126, allocations: 0 / 0.7933 GB, free: 6.461 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.001141/0.3138, allocations: 0.7676 MB / 0.794 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3138, allocations: 8.031 kB / 0.794 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.3139, allocations: 63.2 kB / 0.7941 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.3145, allocations: 408 kB / 0.7945 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3145, allocations: 8.188 kB / 0.7945 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3145, allocations: 12 kB / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3148, allocations: 143.5 kB / 0.7946 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3149, allocations: 0 / 0.7946 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3149, allocations: 3.938 kB / 0.7946 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3149, allocations: 4 kB / 0.7946 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3151, allocations: 76.45 kB / 0.7947 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008798/0.316, allocations: 0.586 MB / 0.7953 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3162, allocations: 118.8 kB / 0.7954 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.3164, allocations: 44.83 kB / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.3164, allocations: 8 kB / 0.7954 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.3166, allocations: 111.3 kB / 0.7955 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3166, allocations: 0 / 0.7955 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004832/0.3171, allocations: 226.5 kB / 0.7958 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3172, allocations: 77.11 kB / 0.7958 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007945/0.318, allocations: 0.6837 MB / 0.7965 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.318, allocations: 33.64 kB / 0.7965 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3183, allocations: 268.3 kB / 0.7968 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.3183, allocations: 35.59 kB / 0.7968 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.3184, allocations: 7.984 kB / 0.7968 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3185, allocations: 366.8 kB / 0.7972 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3187, allocations: 71.97 kB / 0.7972 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.3189, allocations: 129 kB / 0.7974 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3191, allocations: 76 kB / 0.7974 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3191, allocations: 3.953 kB / 0.7974 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004521/0.3195, allocations: 272.3 kB / 0.7977 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3196, allocations: 8 kB / 0.7977 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3196, allocations: 4.062 kB / 0.7977 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3196, allocations: 0 / 0.7977 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3198, allocations: 39.92 kB / 0.7978 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3198, allocations: 0 / 0.7978 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.32, allocations: 31.83 kB / 0.7978 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.32, allocations: 4 kB / 0.7978 GB, free: 1.57 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.3203, allocations: 215.5 kB / 0.798 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.3203, allocations: 55.3 kB / 0.7981 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.3205, allocations: 61.05 kB / 0.7981 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3205, allocations: 8.016 kB / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3205, allocations: 0 / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3205, allocations: 0 / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.3209, allocations: 377.3 kB / 0.7985 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.321, allocations: 0 / 0.7985 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.321, allocations: 11.95 kB / 0.7985 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.321, allocations: 0 / 0.7985 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.321, allocations: 15.92 kB / 0.7985 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.321, allocations: 4 kB / 0.7985 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.321, allocations: 0 / 0.7985 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.3214, allocations: 212.4 kB / 0.7987 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3215, allocations: 132.3 kB / 0.7988 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.3216, allocations: 11.94 kB / 0.7988 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3217, allocations: 15.98 kB / 0.7989 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.3218, allocations: 15.98 kB / 0.7989 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3218, allocations: 11.98 kB / 0.7989 GB, free: 352 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005316/0.3223, allocations: 467 kB / 0.7993 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3224, allocations: 0 / 0.7993 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003027/0.3227, allocations: 64 kB / 0.7994 GB, free: 15.83 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 (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.001102/0.3238, allocations: 433.1 kB / 0.7998 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.3241, allocations: 155.8 kB / 0.8 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3241, allocations: 0 / 0.8 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3243, allocations: 57.09 kB / 0.8 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3247, allocations: 78.94 kB / 0.8001 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3261, allocations: 0.9709 MB / 0.801 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.3268, allocations: 0.8652 MB / 0.8019 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.327, allocations: 27.42 kB / 0.8019 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.327, allocations: 0 / 0.8019 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.009134/0.3361, allocations: 5.75 MB / 0.8075 GB, free: 7.637 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++ 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.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