Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, 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.002131/0.002132, allocations: 197.1 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 2.529/2.529, allocations: 222.9 MB / 240.4 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004486/0.004486, allocations: 291 kB / 290.9 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.706/1.706, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003295/0.003295, allocations: 95.42 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2283, allocations: 86.98 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.005094/0.2335, allocations: 2.074 MB / 0.6821 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.235, allocations: 0.5518 MB / 0.6827 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2351, allocations: 4.594 kB / 0.6827 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.2353, allocations: 15.84 kB / 0.6827 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2355, allocations: 21.67 kB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2359, allocations: 79.88 kB / 0.6828 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.2362, allocations: 210.7 kB / 0.683 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.2366, allocations: 108.5 kB / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2368, allocations: 84.69 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2369, allocations: 87.48 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.237, allocations: 12.94 kB / 0.6833 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2371, allocations: 23.98 kB / 0.6833 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2372, allocations: 47.77 kB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.2374, allocations: 91.47 kB / 0.6834 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.2377, allocations: 199.5 kB / 0.6836 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2377, allocations: 4 kB / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2377, allocations: 0 / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2377, allocations: 0 / 0.6836 GB, free: 13.54 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001119/0.2389, allocations: 0.518 MB / 0.6841 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.2389, allocations: 20.02 kB / 0.6841 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.239, allocations: 24.66 kB / 0.6842 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.2396, allocations: 252.7 kB / 0.6844 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2396, allocations: 12.38 kB / 0.6844 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.2397, allocations: 20.38 kB / 0.6844 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.2403, allocations: 228.8 kB / 0.6846 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2403, allocations: 8 kB / 0.6846 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.2404, allocations: 4 kB / 0.6847 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2404, allocations: 4 kB / 0.6847 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.2409, allocations: 139.9 kB / 0.6848 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2424, allocations: 0.5894 MB / 0.6854 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.2429, allocations: 122.7 kB / 0.6855 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2431, allocations: 44.84 kB / 0.6855 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2432, allocations: 7.984 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.2433, allocations: 38.69 kB / 0.6856 GB, free: 11.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.2433, allocations: 4 kB / 0.6856 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000756/0.244, allocations: 173.3 kB / 0.6857 GB, free: 11.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2442, allocations: 136.5 kB / 0.6859 GB, free: 11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.2445, allocations: 203.4 kB / 0.6861 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.2445, allocations: 33.7 kB / 0.6861 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2447, allocations: 148.1 kB / 0.6862 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.2448, allocations: 31.64 kB / 0.6863 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2449, allocations: 41.64 kB / 0.6863 GB, free: 10.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2451, allocations: 330.8 kB / 0.6866 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2453, allocations: 43.98 kB / 0.6867 GB, free: 10.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.2456, allocations: 84.27 kB / 0.6867 GB, free: 10.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.2459, allocations: 96.38 kB / 0.6868 GB, free: 9.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2459, allocations: 0 / 0.6868 GB, free: 9.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005093/0.2464, allocations: 153.5 kB / 0.687 GB, free: 9.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2465, allocations: 4 kB / 0.687 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2465, allocations: 0 / 0.687 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2465, allocations: 7.938 kB / 0.687 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2467, allocations: 27.86 kB / 0.687 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2467, allocations: 4.031 kB / 0.687 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.247, allocations: 27.83 kB / 0.6871 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.247, allocations: 11.98 kB / 0.6871 GB, free: 9.723 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001834/0.2472, allocations: 129.8 kB / 0.6872 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.2473, allocations: 19.81 kB / 0.6872 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.2479, allocations: 147 kB / 0.6873 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2479, allocations: 3.938 kB / 0.6873 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2479, allocations: 0 / 0.6873 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2479, allocations: 0 / 0.6873 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.2484, allocations: 277.4 kB / 0.6876 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2484, allocations: 0 / 0.6876 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2486, allocations: 19.92 kB / 0.6876 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2486, allocations: 0 / 0.6876 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2486, allocations: 4 kB / 0.6876 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2486, allocations: 3.938 kB / 0.6876 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2486, allocations: 4 kB / 0.6876 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.2492, allocations: 227.2 kB / 0.6879 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.2493, allocations: 89.11 kB / 0.6879 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.2493, allocations: 8 kB / 0.688 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.2496, allocations: 27.84 kB / 0.688 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2498, allocations: 27.95 kB / 0.688 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.2498, allocations: 4 kB / 0.688 GB, free: 8.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.25, allocations: 147.2 kB / 0.6882 GB, free: 8.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.25, allocations: 4 kB / 0.6882 GB, free: 8.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.2505, allocations: 35.84 kB / 0.6882 GB, free: 8.469 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0002221/0.2508, allocations: 119.2 kB / 0.6883 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.2512, allocations: 112 kB / 0.6884 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2513, allocations: 0 / 0.6884 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2515, allocations: 55.91 kB / 0.6885 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2521, allocations: 16 kB / 0.6885 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.2531, allocations: 434.1 kB / 0.6889 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.2536, allocations: 0.7283 MB / 0.6896 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.2537, allocations: 19.42 kB / 0.6896 GB, free: 6.934 MB / 494.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2537, allocations: 4 kB / 0.6896 GB, free: 6.93 MB / 494.1 MB Notification: Performance of Templates: time 0.006603/0.2603, allocations: 2.355 MB / 0.6919 GB, free: 4.586 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtectionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtectionCalcHelperMain.o] Error 1