Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008872/0.0008872, allocations: 88.95 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009291/0.000929, allocations: 203.1 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 45.92 MB / 344.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01161/0.1698, allocations: 7.797 MB / 489.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1818, allocations: 10.19 MB / 0.4884 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.1819, allocations: 0 / 0.4884 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1822, allocations: 39.78 kB / 0.4884 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.1873, allocations: 1.369 MB / 0.4898 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.824e-06/0.1874, allocations: 0 / 0.4898 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.1874, allocations: 43.67 kB / 0.4898 GB, free: 1.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1875, allocations: 4 kB / 0.4898 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1876, allocations: 27.86 kB / 0.4898 GB, free: 1.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.1877, allocations: 19.91 kB / 0.4898 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.1877, allocations: 0 / 0.4898 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3266/0.5143, allocations: 19.58 MB / 0.509 GB, free: 23.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.5144, allocations: 4 kB / 0.509 GB, free: 23.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.5145, allocations: 34.3 kB / 0.509 GB, free: 23.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.5294, allocations: 4.291 MB / 0.5132 GB, free: 23.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5295, allocations: 1.031 kB / 0.5132 GB, free: 23.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5295, allocations: 1.656 kB / 0.5132 GB, free: 23.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5295, allocations: 0 / 0.5132 GB, free: 23.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.009367/0.5389, allocations: 0.544 MB / 0.5137 GB, free: 23.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.5389, allocations: 10.19 kB / 0.5137 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.5391, allocations: 17.16 kB / 0.5138 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.5392, allocations: 167.9 kB / 0.5139 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5392, allocations: 1.562 kB / 0.5139 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.5392, allocations: 4.688 kB / 0.5139 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5394, allocations: 85.17 kB / 0.514 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5394, allocations: 0 / 0.514 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5395, allocations: 5.297 kB / 0.514 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5395, allocations: 1.844 kB / 0.514 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.5396, allocations: 78.67 kB / 0.5141 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.5401, allocations: 306.4 kB / 0.5144 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.5402, allocations: 51.92 kB / 0.5144 GB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.5402, allocations: 36.34 kB / 0.5145 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003375/0.5436, allocations: 1.825 MB / 0.5162 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5436, allocations: 40.7 kB / 0.5163 GB, free: 21.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.5436, allocations: 0 / 0.5163 GB, free: 21.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003406/0.544, allocations: 106.7 kB / 0.5164 GB, free: 21.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.544, allocations: 53.06 kB / 0.5164 GB, free: 21.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.5441, allocations: 94.58 kB / 0.5165 GB, free: 21.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5441, allocations: 26.7 kB / 0.5165 GB, free: 21.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.5442, allocations: 87.56 kB / 0.5166 GB, free: 21.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.5442, allocations: 25.48 kB / 0.5167 GB, free: 21.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5442, allocations: 3 kB / 0.5167 GB, free: 21.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.5443, allocations: 316.5 kB / 0.517 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.5444, allocations: 23.27 kB / 0.517 GB, free: 20.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.5444, allocations: 34.44 kB / 0.517 GB, free: 20.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.145e-05/0.5445, allocations: 24.14 kB / 0.517 GB, free: 20.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5445, allocations: 4.422 kB / 0.517 GB, free: 20.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.5447, allocations: 98.42 kB / 0.5171 GB, free: 20.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5448, allocations: 5.125 kB / 0.5171 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5448, allocations: 1.906 kB / 0.5171 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5448, allocations: 4.656 kB / 0.5171 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.5449, allocations: 9.422 kB / 0.5172 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5449, allocations: 0.75 kB / 0.5172 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.5449, allocations: 9.594 kB / 0.5172 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5449, allocations: 7.391 kB / 0.5172 GB, free: 20.8 MB / 382.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.944e-05/0.545, allocations: 112.7 kB / 0.5173 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.5451, allocations: 11.52 kB / 0.5173 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.5455, allocations: 148.8 kB / 0.5174 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002023/0.5457, allocations: 119.5 kB / 0.5175 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5457, allocations: 1.062 kB / 0.5175 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5457, allocations: 0.7031 kB / 0.5175 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.5462, allocations: 432.9 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5462, allocations: 1.641 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.5463, allocations: 19.02 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5463, allocations: 0 / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5463, allocations: 2.203 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5463, allocations: 2.188 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5463, allocations: 0.5 kB / 0.518 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.5466, allocations: 227.7 kB / 0.5182 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.5466, allocations: 84.84 kB / 0.5183 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.5466, allocations: 4.219 kB / 0.5183 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.5467, allocations: 3.609 kB / 0.5183 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.5467, allocations: 5.391 kB / 0.5183 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5467, allocations: 8.25 kB / 0.5183 GB, free: 20.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.434e-05/0.5468, allocations: 79.47 kB / 0.5184 GB, free: 19.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.5468, allocations: 1 kB / 0.5184 GB, free: 19.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006095/0.5529, allocations: 351.5 kB / 0.5187 GB, free: 19.93 MB / 382.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.02682/0.5797, allocations: 3.726 MB / 0.5224 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.5801, allocations: 105.4 kB / 0.5225 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.5801, allocations: 1.125 kB / 0.5225 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.5802, allocations: 62.08 kB / 0.5225 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.5807, allocations: 34.83 kB / 0.5225 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.5812, allocations: 271.9 kB / 0.5228 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.5813, allocations: 0.6921 MB / 0.5235 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.5814, allocations: 18.66 kB / 0.5235 GB, free: 17.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5814, allocations: 0 / 0.5235 GB, free: 17.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02842/0.6098, allocations: 19.29 MB / 0.5423 GB, free: 7.062 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTXCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTXCalcHelperMain.o] Error 1