Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.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.0008869/0.0008865, allocations: 100.1 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.0009577/0.0009579, allocations: 176.2 kB / 16.58 MB, free: 6.422 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.407/1.407, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 8 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8144, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002362/0.8168, allocations: 1.203 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.978, allocations: 119.6 MB / 1.14 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.9781, allocations: 4 kB / 1.14 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.9781, allocations: 3.984 kB / 1.14 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.9782, allocations: 15.81 kB / 1.14 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.9785, allocations: 55.78 kB / 1.14 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.9786, allocations: 43.84 kB / 1.14 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.9787, allocations: 12 kB / 1.14 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.9788, allocations: 11.92 kB / 1.14 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.9788, allocations: 23.92 kB / 1.14 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.9789, allocations: 4 kB / 1.14 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.979, allocations: 19.92 kB / 1.14 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.979, allocations: 4 kB / 1.14 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.979, allocations: 33.69 kB / 1.14 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.9792, allocations: 37.91 kB / 1.14 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9792, allocations: 4 kB / 1.14 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9792, allocations: 0 / 1.14 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9792, allocations: 3.938 kB / 1.14 GB, free: 7.648 MB / 0.8887 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.0005891/0.9798, allocations: 383.1 kB / 1.14 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.9798, allocations: 15.98 kB / 1.14 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.9799, allocations: 0 / 1.14 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.98, allocations: 167 kB / 1.141 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.98, allocations: 7.953 kB / 1.141 GB, free: 7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.9801, allocations: 4 kB / 1.141 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.9803, allocations: 85.64 kB / 1.141 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9803, allocations: 0 / 1.141 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.9804, allocations: 0 / 1.141 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9804, allocations: 4 kB / 1.141 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.9807, allocations: 95.86 kB / 1.141 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.9812, allocations: 288.8 kB / 1.141 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.9814, allocations: 62.55 kB / 1.141 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.9815, allocations: 56.89 kB / 1.141 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.9817, allocations: 89.09 kB / 1.141 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.9818, allocations: 38.44 kB / 1.141 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.9818, allocations: 0 / 1.141 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005592/0.9823, allocations: 169.5 kB / 1.141 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.9824, allocations: 51.41 kB / 1.141 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.9825, allocations: 117.8 kB / 1.142 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.9825, allocations: 29.7 kB / 1.142 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.9826, allocations: 84.14 kB / 1.142 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.9826, allocations: 19.8 kB / 1.142 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.9827, allocations: 8 kB / 1.142 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9828, allocations: 314.8 kB / 1.142 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.983, allocations: 39.97 kB / 1.142 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.9831, allocations: 51.89 kB / 1.142 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.9832, allocations: 35.97 kB / 1.142 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9832, allocations: 4 kB / 1.142 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.9836, allocations: 121.6 kB / 1.142 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9836, allocations: 8 kB / 1.142 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9836, allocations: 0 / 1.142 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.9836, allocations: 0 / 1.142 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.9837, allocations: 19.98 kB / 1.142 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.9837, allocations: 0 / 1.142 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.9838, allocations: 23.98 kB / 1.142 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.9838, allocations: 0 / 1.142 GB, free: 5.066 MB / 0.8887 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.09e-05/0.9839, allocations: 113.8 kB / 1.142 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.984, allocations: 7.891 kB / 1.142 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.9843, allocations: 133.5 kB / 1.143 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.9843, allocations: 0 / 1.143 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9843, allocations: 4 kB / 1.143 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9844, allocations: 0 / 1.143 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.9845, allocations: 181.5 kB / 1.143 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9845, allocations: 4 kB / 1.143 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.9846, allocations: 19.98 kB / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9846, allocations: 0 / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.9847, allocations: 0 / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9847, allocations: 0 / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9847, allocations: 0 / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.985, allocations: 231.3 kB / 1.143 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.9851, allocations: 81.11 kB / 1.143 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.9851, allocations: 0 / 1.143 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.9852, allocations: 19.92 kB / 1.143 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.9853, allocations: 8.406 kB / 1.143 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.9853, allocations: 4 kB / 1.143 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.9853, allocations: 95.64 kB / 1.143 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9853, allocations: 7.938 kB / 1.143 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002361/0.9856, allocations: 12 kB / 1.143 GB, free: 4.059 MB / 0.8887 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.0001841/0.9858, allocations: 107.2 kB / 1.143 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.9861, allocations: 95.91 kB / 1.143 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9861, allocations: 0 / 1.143 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.9863, allocations: 55.91 kB / 1.143 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.9866, allocations: 13.83 kB / 1.143 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.987, allocations: 206.2 kB / 1.144 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.9873, allocations: 0.6887 MB / 1.144 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.9874, allocations: 7.438 kB / 1.144 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of SimCode: time 3.5e-07/0.9874, allocations: 0 / 1.144 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of Templates: time 0.002616/0.99, allocations: 0.9155 MB / 1.145 GB, free: 1.918 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTXCalcHelperMain.o] Error 1