Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 100.1 kB / 15.88 MB, free: 12 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.002648/0.002648, allocations: 198.4 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.884/1.884, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00362/0.00362, allocations: 298.6 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.9/1.9, allocations: 169.2 MB / 0.4984 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003503/0.003504, allocations: 88.86 kB / 0.5951 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3403, allocations: 86.99 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.01269/0.3531, allocations: 4.736 MB / 0.6847 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.359, allocations: 2.731 MB / 0.6874 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.3593, allocations: 0 / 0.6874 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.3599, allocations: 43.8 kB / 0.6874 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.3606, allocations: 87.48 kB / 0.6875 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.3634, allocations: 452.2 kB / 0.6879 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.3642, allocations: 307.9 kB / 0.6882 GB, free: 8.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3643, allocations: 17.55 kB / 0.6882 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.3648, allocations: 107.6 kB / 0.6883 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.3652, allocations: 91.66 kB / 0.6884 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.3653, allocations: 8 kB / 0.6884 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.367, allocations: 371.2 kB / 0.6888 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3671, allocations: 39.83 kB / 0.6888 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3674, allocations: 83.59 kB / 0.6889 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3685, allocations: 243.8 kB / 0.6891 GB, free: 7.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3686, allocations: 0 / 0.6891 GB, free: 7.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3686, allocations: 4 kB / 0.6891 GB, free: 7.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.3686, allocations: 0 / 0.6891 GB, free: 7.871 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001872/0.3705, allocations: 0.5031 MB / 0.6896 GB, free: 7.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.3706, allocations: 8.031 kB / 0.6896 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.371, allocations: 24.73 kB / 0.6897 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.3714, allocations: 208.2 kB / 0.6899 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3714, allocations: 12.7 kB / 0.6899 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.3715, allocations: 20.36 kB / 0.6899 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.3724, allocations: 244.9 kB / 0.6901 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3724, allocations: 3.938 kB / 0.6901 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.3725, allocations: 12 kB / 0.6901 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.3725, allocations: 4 kB / 0.6901 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009294/0.3735, allocations: 435.3 kB / 0.6906 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.3755, allocations: 0.9526 MB / 0.6915 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.3761, allocations: 162.8 kB / 0.6916 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3763, allocations: 60.88 kB / 0.6917 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002821/0.3791, allocations: 1.825 MB / 0.6935 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.3792, allocations: 34.56 kB / 0.6935 GB, free: 2.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 7.193e-06/0.3792, allocations: 0 / 0.6935 GB, free: 2.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006644/0.3799, allocations: 151.5 kB / 0.6937 GB, free: 2.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3799, allocations: 55.34 kB / 0.6937 GB, free: 2.598 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3803, allocations: 176.8 kB / 0.6939 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.3803, allocations: 29.7 kB / 0.6939 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3805, allocations: 135.8 kB / 0.694 GB, free: 2.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.3806, allocations: 59.19 kB / 0.6941 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3808, allocations: 49.7 kB / 0.6941 GB, free: 2.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003851/0.3812, allocations: 326.8 kB / 0.6945 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3813, allocations: 39.97 kB / 0.6945 GB, free: 1.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3817, allocations: 131.5 kB / 0.6946 GB, free: 1.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.3822, allocations: 207.5 kB / 0.6948 GB, free: 1.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3822, allocations: 8 kB / 0.6948 GB, free: 1.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007011/0.3829, allocations: 205.1 kB / 0.695 GB, free: 1.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.383, allocations: 8 kB / 0.695 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.383, allocations: 8.469 kB / 0.695 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.3831, allocations: 8 kB / 0.695 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.3834, allocations: 59.84 kB / 0.6951 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.3835, allocations: 11.94 kB / 0.6951 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.3837, allocations: 31.62 kB / 0.6951 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3838, allocations: 12 kB / 0.6952 GB, free: 0.9844 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0002111/0.384, allocations: 133.7 kB / 0.6953 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3841, allocations: 15.81 kB / 0.6953 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.3846, allocations: 155 kB / 0.6954 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.3847, allocations: 3.938 kB / 0.6954 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3847, allocations: 0 / 0.6954 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.3847, allocations: 0 / 0.6954 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.3852, allocations: 217.5 kB / 0.6957 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3853, allocations: 7.938 kB / 0.6957 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3854, allocations: 23.92 kB / 0.6957 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.3855, allocations: 4 kB / 0.6957 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3855, allocations: 4 kB / 0.6957 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3855, allocations: 3.938 kB / 0.6957 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3855, allocations: 0 / 0.6957 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.3861, allocations: 221.8 kB / 0.6959 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.3863, allocations: 108.9 kB / 0.696 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.3863, allocations: 0 / 0.696 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.3867, allocations: 23.86 kB / 0.696 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.3868, allocations: 15.92 kB / 0.696 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.3868, allocations: 8 kB / 0.6961 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001916/0.387, allocations: 127.5 kB / 0.6962 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3871, allocations: 0 / 0.6962 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007968/0.3879, allocations: 83.92 kB / 0.6963 GB, free: 15.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.00091/0.3888, allocations: 175.2 kB / 0.6964 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.3893, allocations: 119.7 kB / 0.6965 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3893, allocations: 0 / 0.6965 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.3895, allocations: 47.92 kB / 0.6966 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.3904, allocations: 58.84 kB / 0.6966 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3918, allocations: 425.9 kB / 0.697 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.3925, allocations: 0.7131 MB / 0.6977 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3926, allocations: 31.44 kB / 0.6978 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.163e-06/0.3926, allocations: 0 / 0.6978 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01115/0.4038, allocations: 3.155 MB / 0.7009 GB, free: 11 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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 OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1