Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009095/0.0009096, allocations: 96.14 kB / 16.33 MB, free: 6.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 182.4 kB / 17.22 MB, free: 6.008 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.52/1.52, allocations: 223.3 MB / 241.2 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6925/0.6925, allocations: 114.3 MB / 406.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 9.031 kB / 494.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 77.27 MB / 0.5583 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001745/0.1874, allocations: 1.189 MB / 0.5595 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5148/0.7022, allocations: 119.6 MB / 0.6763 GB, free: 224 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.7024, allocations: 0 / 0.6763 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.7024, allocations: 3.938 kB / 0.6763 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.7025, allocations: 7.938 kB / 0.6763 GB, free: 212 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.7028, allocations: 54.28 kB / 0.6764 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.7029, allocations: 47.8 kB / 0.6764 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.703, allocations: 15.98 kB / 0.6764 GB, free: 96 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.7031, allocations: 19.91 kB / 0.6765 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.7031, allocations: 19.92 kB / 0.6765 GB, free: 56 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.7031, allocations: 4 kB / 0.6765 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.7032, allocations: 15.98 kB / 0.6765 GB, free: 36 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.7033, allocations: 4 kB / 0.6765 GB, free: 32 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.7033, allocations: 33.64 kB / 0.6765 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.7034, allocations: 37.94 kB / 0.6766 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7034, allocations: 0 / 0.6766 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7034, allocations: 0 / 0.6766 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7034, allocations: 0 / 0.6766 GB, free: 15.96 MB / 0.4981 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.0005029/0.7039, allocations: 377.5 kB / 0.6769 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.704, allocations: 12.02 kB / 0.6769 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.704, allocations: 11.89 kB / 0.6769 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7042, allocations: 171 kB / 0.6771 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7042, allocations: 8 kB / 0.6771 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7042, allocations: 4 kB / 0.6771 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.7045, allocations: 90.16 kB / 0.6772 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7045, allocations: 0 / 0.6772 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.7045, allocations: 0 / 0.6772 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.7046, allocations: 11.94 kB / 0.6772 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.705, allocations: 91.92 kB / 0.6773 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.7055, allocations: 276.7 kB / 0.6776 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.7058, allocations: 74.47 kB / 0.6776 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.7059, allocations: 52.91 kB / 0.6777 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.7061, allocations: 85.11 kB / 0.6778 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.7061, allocations: 38.55 kB / 0.6778 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7061, allocations: 0 / 0.6778 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005094/0.7067, allocations: 161.7 kB / 0.678 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.7067, allocations: 51.41 kB / 0.678 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.7068, allocations: 121.8 kB / 0.6781 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.7068, allocations: 25.7 kB / 0.6782 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.7069, allocations: 92.05 kB / 0.6782 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.7069, allocations: 7.906 kB / 0.6782 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7069, allocations: 0 / 0.6782 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7071, allocations: 322.8 kB / 0.6786 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.7072, allocations: 43.97 kB / 0.6786 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.7073, allocations: 43.94 kB / 0.6786 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.7075, allocations: 43.97 kB / 0.6787 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7075, allocations: 0 / 0.6787 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002913/0.7078, allocations: 117.6 kB / 0.6788 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7078, allocations: 4 kB / 0.6788 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.7078, allocations: 4 kB / 0.6788 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.7078, allocations: 0 / 0.6788 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.708, allocations: 31.91 kB / 0.6788 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.708, allocations: 3.984 kB / 0.6788 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.7081, allocations: 23.89 kB / 0.6789 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.7081, allocations: 0 / 0.6789 GB, free: 13.38 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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 9.282e-05/0.7082, allocations: 117.3 kB / 0.679 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.7082, allocations: 0 / 0.679 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.7085, allocations: 133.5 kB / 0.6791 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7086, allocations: 0 / 0.6791 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/0.7086, allocations: 0 / 0.6791 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7086, allocations: 7.875 kB / 0.6791 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7088, allocations: 181.7 kB / 0.6793 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7088, allocations: 0 / 0.6793 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.7089, allocations: 23.91 kB / 0.6793 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7089, allocations: 7.375 kB / 0.6793 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.7089, allocations: 0 / 0.6793 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7089, allocations: 4 kB / 0.6793 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7089, allocations: 0 / 0.6793 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.7093, allocations: 215.4 kB / 0.6795 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.7093, allocations: 92.91 kB / 0.6796 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7094, allocations: 3.984 kB / 0.6796 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.7095, allocations: 15.98 kB / 0.6796 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.7095, allocations: 8 kB / 0.6796 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7095, allocations: 0 / 0.6796 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.7096, allocations: 95.81 kB / 0.6797 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7096, allocations: 0 / 0.6797 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002239/0.7098, allocations: 16 kB / 0.6797 GB, free: 12.38 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 (3): * Single equations (assignments): 3 * 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.0001541/0.71, allocations: 103.9 kB / 0.6798 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.7103, allocations: 95.86 kB / 0.6799 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7103, allocations: 0 / 0.6799 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.7105, allocations: 51.95 kB / 0.68 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.7107, allocations: 10.19 kB / 0.68 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.7111, allocations: 206.6 kB / 0.6802 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7114, allocations: 0.6809 MB / 0.6809 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.7114, allocations: 11.44 kB / 0.6809 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.7114, allocations: 0 / 0.6809 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.00244/0.7139, allocations: 0.9096 MB / 0.6818 GB, free: 10.25 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.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 OMCppIBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.o] Error 1