Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.97 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.00138/0.00138, allocations: 175.2 kB / 16.58 MB, free: 6.418 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.882/1.882, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.92/1.92, allocations: 292.7 MB / 0.5505 GB, free: 14.58 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.0005737/0.0005737, allocations: 12.56 kB / 0.6743 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3101, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001683/0.3118, allocations: 0.9781 MB / 0.7889 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004516/0.3164, allocations: 3.058 MB / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.3165, allocations: 0 / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.3165, allocations: 0 / 0.7918 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.3166, allocations: 3.984 kB / 0.7918 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.317, allocations: 87.62 kB / 0.7919 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.3171, allocations: 35.84 kB / 0.792 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3172, allocations: 0 / 0.792 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.3172, allocations: 23.92 kB / 0.792 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.3173, allocations: 11.97 kB / 0.792 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3173, allocations: 4 kB / 0.792 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3175, allocations: 51.83 kB / 0.7921 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.3176, allocations: 8 kB / 0.7921 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.3176, allocations: 41.58 kB / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3177, allocations: 44.17 kB / 0.7921 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3178, allocations: 0 / 0.7921 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3178, allocations: 0 / 0.7921 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3178, allocations: 0 / 0.7921 GB, free: 7.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004576/0.3182, allocations: 327.3 kB / 0.7925 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3183, allocations: 8.031 kB / 0.7925 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3184, allocations: 15.94 kB / 0.7925 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3186, allocations: 167 kB / 0.7926 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3186, allocations: 7.938 kB / 0.7926 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3186, allocations: 4 kB / 0.7926 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3188, allocations: 49.67 kB / 0.7927 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3188, allocations: 4 kB / 0.7927 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3188, allocations: 0 / 0.7927 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3188, allocations: 0 / 0.7927 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.3189, allocations: 23.92 kB / 0.7927 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3191, allocations: 173.6 kB / 0.7929 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.3192, allocations: 46.56 kB / 0.7929 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3192, allocations: 20.84 kB / 0.7929 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.32, allocations: 0.5907 MB / 0.7935 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.32, allocations: 34.5 kB / 0.7936 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 3.297e-06/0.32, allocations: 4 kB / 0.7936 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006443/0.3207, allocations: 306.5 kB / 0.7939 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3207, allocations: 51.41 kB / 0.7939 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3209, allocations: 105.8 kB / 0.794 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3209, allocations: 29.7 kB / 0.794 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.3209, allocations: 88.05 kB / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.321, allocations: 31.55 kB / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.321, allocations: 4 kB / 0.7942 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3211, allocations: 314.8 kB / 0.7945 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.3211, allocations: 11.98 kB / 0.7945 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.3212, allocations: 57.08 kB / 0.7945 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.3213, allocations: 27.94 kB / 0.7945 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3213, allocations: 3.938 kB / 0.7945 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002264/0.3215, allocations: 93.55 kB / 0.7946 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3215, allocations: 10.77 kB / 0.7946 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3216, allocations: 4 kB / 0.7947 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3216, allocations: 0 / 0.7947 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.3217, allocations: 20 kB / 0.7947 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3217, allocations: 3.984 kB / 0.7947 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.3217, allocations: 8.125 kB / 0.7947 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3217, allocations: 15.88 kB / 0.7947 GB, free: 4.602 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.55e-05/0.3218, allocations: 109.8 kB / 0.7948 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.3219, allocations: 7.906 kB / 0.7948 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.3219, allocations: 11.92 kB / 0.7948 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3219, allocations: 4 kB / 0.7948 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3219, allocations: 0 / 0.7948 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3219, allocations: 0 / 0.7948 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.3222, allocations: 169.7 kB / 0.795 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3222, allocations: 4 kB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.3223, allocations: 15.98 kB / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3223, allocations: 0 / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3223, allocations: 4 kB / 0.795 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3223, allocations: 7.953 kB / 0.795 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3223, allocations: 0 / 0.795 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.3225, allocations: 175.5 kB / 0.7952 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.3226, allocations: 85.02 kB / 0.7953 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3226, allocations: 4 kB / 0.7953 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.3227, allocations: 4.031 kB / 0.7953 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3227, allocations: 7.953 kB / 0.7953 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3227, allocations: 4.438 kB / 0.7953 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.3228, allocations: 79.28 kB / 0.7954 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3228, allocations: 0 / 0.7954 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002371/0.323, allocations: 16 kB / 0.7954 GB, free: 3.812 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001989/0.3232, allocations: 103.8 kB / 0.7955 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3234, allocations: 43.86 kB / 0.7955 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3234, allocations: 4 kB / 0.7955 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.3234, allocations: 8 kB / 0.7955 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3237, allocations: 8 kB / 0.7955 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.3244, allocations: 420.4 kB / 0.7959 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3248, allocations: 0.6848 MB / 0.7966 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3248, allocations: 11.44 kB / 0.7966 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3248, allocations: 0 / 0.7966 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.002536/0.3274, allocations: 0.7655 MB / 0.7974 GB, free: 1.703 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1