Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 96.14 kB / 15.87 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.002062/0.002062, allocations: 199.9 kB / 16.79 MB, free: 6.824 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.1 MB / 222.6 MB, free: 5.035 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.836/1.836, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001331/0.001331, allocations: 68.84 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 114.6 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002558/0.2907, allocations: 1.336 MB / 0.7846 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2921, allocations: 0.8479 MB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.2922, allocations: 4 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.2922, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.2923, allocations: 3.938 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2927, allocations: 99.61 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.2928, allocations: 35.8 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.2928, allocations: 3.984 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.2929, allocations: 15.98 kB / 0.7856 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.2929, allocations: 7.938 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.293, allocations: 0 / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.2933, allocations: 175.7 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2933, allocations: 7.984 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.2933, allocations: 7.938 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.2935, allocations: 88.12 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2935, allocations: 0 / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.91e-07/0.2935, allocations: 4 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.2935, allocations: 0 / 0.7859 GB, free: 11.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000476/0.294, allocations: 363.3 kB / 0.7862 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2941, allocations: 12.02 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.2941, allocations: 4.938 kB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2943, allocations: 164.3 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.2943, allocations: 34.27 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.2944, allocations: 384 / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2945, allocations: 50.19 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2945, allocations: 11.92 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2946, allocations: 3.984 kB / 0.7865 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2946, allocations: 0 / 0.7865 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.2947, allocations: 11.98 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.2949, allocations: 165.7 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.2951, allocations: 42.56 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.2952, allocations: 16.86 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.2955, allocations: 178.3 kB / 0.7869 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2955, allocations: 38.5 kB / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2955, allocations: 0 / 0.7869 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002568/0.2958, allocations: 73.52 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.2958, allocations: 55.41 kB / 0.7871 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.2959, allocations: 97.84 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2959, allocations: 29.7 kB / 0.7872 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.296, allocations: 84.14 kB / 0.7873 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.296, allocations: 7.844 kB / 0.7873 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.2961, allocations: 21.62 kB / 0.7873 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2962, allocations: 314.8 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.2963, allocations: 12 kB / 0.7876 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.2963, allocations: 19.92 kB / 0.7876 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.2964, allocations: 24.84 kB / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2964, allocations: 0 / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.2965, allocations: 57.69 kB / 0.7877 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2966, allocations: 7.938 kB / 0.7877 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2966, allocations: 0 / 0.7877 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2966, allocations: 0 / 0.7877 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.2967, allocations: 11.98 kB / 0.7877 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2967, allocations: 4 kB / 0.7877 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.2967, allocations: 4 kB / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2967, allocations: 0 / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 9.016e-05/0.2968, allocations: 113.8 kB / 0.7878 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.2968, allocations: 7.938 kB / 0.7879 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.297, allocations: 65.11 kB / 0.7879 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.297, allocations: 4.562 kB / 0.7879 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2971, allocations: 4 kB / 0.7879 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2971, allocations: 3.938 kB / 0.7879 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2972, allocations: 153.7 kB / 0.7881 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2972, allocations: 3.984 kB / 0.7881 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.2973, allocations: 8 kB / 0.7881 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2973, allocations: 3.938 kB / 0.7881 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2973, allocations: 3.984 kB / 0.7881 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2973, allocations: 0 / 0.7881 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2973, allocations: 3.938 kB / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2975, allocations: 89.02 kB / 0.7882 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.2975, allocations: 81.11 kB / 0.7883 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2976, allocations: 11.92 kB / 0.7883 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.2976, allocations: 0 / 0.7883 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.2977, allocations: 4 kB / 0.7883 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2977, allocations: 0 / 0.7883 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.2977, allocations: 83.27 kB / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2977, allocations: 0 / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002322/0.298, allocations: 39.94 kB / 0.7884 GB, free: 8.43 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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.0002383/0.2982, allocations: 135.2 kB / 0.7885 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.2984, allocations: 27.92 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2984, allocations: 4 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.2984, allocations: 15.98 kB / 0.7886 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2987, allocations: 4 kB / 0.7886 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.299, allocations: 166.6 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2993, allocations: 0.6809 MB / 0.7894 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.2993, allocations: 7.438 kB / 0.7894 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2993, allocations: 4 kB / 0.7894 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.002401/0.3017, allocations: 0.9758 MB / 0.7904 GB, free: 6.348 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTXCalcHelperMain.o] Error 1