Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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) 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(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.678/1.678, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002508/0.0002508, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.3294/0.4569, allocations: 34.79 MB / 393.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.04138/0.4983, allocations: 28.15 MB / 421.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.4995, allocations: 6.656 kB / 421.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.5011, allocations: 313 kB / 422 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.5032, allocations: 491.2 kB / 422.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.5232, allocations: 3.835 MB / 426.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.5266, allocations: 1.702 MB / 428 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.5269, allocations: 133.8 kB / 428.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009998/0.5279, allocations: 474.2 kB / 428.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.5285, allocations: 426.3 kB / 429.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.5286, allocations: 24 kB / 429.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07793/0.6065, allocations: 51.75 MB / 480.8 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.607, allocations: 115.5 kB / 480.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.6074, allocations: 145.5 kB / 481.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03804/0.6455, allocations: 13.88 MB / 495 MB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.6456, allocations: 0 / 495 MB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.025e-06/0.6456, allocations: 0 / 495 MB, free: 2.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.6456, allocations: 3.938 kB / 495 MB, free: 2.633 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01094/0.6566, allocations: 1.322 MB / 496.3 MB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6566, allocations: 8.031 kB / 496.3 MB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007607/0.6574, allocations: 91.31 kB / 496.4 MB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.658, allocations: 378.1 kB / 496.8 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.658, allocations: 40.94 kB / 496.8 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.6581, allocations: 44 kB / 496.8 MB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.6593, allocations: 0.6166 MB / 497.5 MB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.6594, allocations: 4 kB / 497.5 MB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.6594, allocations: 20.08 kB / 497.5 MB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.6595, allocations: 16 kB / 497.5 MB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/0.6604, allocations: 0.5229 MB / 498 MB, free: 15.44 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.6648, allocations: 3.803 MB / 0.4901 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008827/0.6657, allocations: 415.7 kB / 0.4905 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.666, allocations: 209 kB / 0.4907 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003523/0.6695, allocations: 3.545 MB / 0.4941 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.6696, allocations: 39.81 kB / 0.4942 GB, free: 6.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 3.607e-06/0.6696, allocations: 0 / 0.4942 GB, free: 6.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009037/0.6786, allocations: 2.054 MB / 0.4962 GB, free: 4.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.6787, allocations: 59.84 kB / 0.4962 GB, free: 4.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.6791, allocations: 304.5 kB / 0.4965 GB, free: 3.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.6791, allocations: 33.7 kB / 0.4965 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.6793, allocations: 232.6 kB / 0.4968 GB, free: 3.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.6795, allocations: 189.3 kB / 0.4969 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.6795, allocations: 12 kB / 0.4969 GB, free: 3.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.6797, allocations: 354.8 kB / 0.4973 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.68, allocations: 177.2 kB / 0.4975 GB, free: 2.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.6805, allocations: 334.7 kB / 0.4978 GB, free: 2.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.6808, allocations: 228.7 kB / 0.498 GB, free: 2.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6808, allocations: 0 / 0.498 GB, free: 2.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00124/0.6821, allocations: 0.6755 MB / 0.4987 GB, free: 1.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6821, allocations: 8 kB / 0.4987 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6821, allocations: 4 kB / 0.4987 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008008/0.6902, allocations: 454 kB / 0.4991 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.6909, allocations: 147.7 kB / 0.4992 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6935, allocations: 2.979 MB / 0.5021 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.6941, allocations: 56.05 kB / 0.5022 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.6942, allocations: 31.94 kB / 0.5022 GB, free: 13.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.6946, allocations: 189.6 kB / 0.5024 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.6947, allocations: 47.53 kB / 0.5025 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.6966, allocations: 1.059 MB / 0.5035 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.6966, allocations: 11.98 kB / 0.5035 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6966, allocations: 0 / 0.5035 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.6979, allocations: 1.087 MB / 0.5046 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.7006, allocations: 1.727 MB / 0.5063 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.7006, allocations: 0 / 0.5063 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.701, allocations: 103.9 kB / 0.5064 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.704, allocations: 361 kB / 0.5067 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.7041, allocations: 23.94 kB / 0.5067 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/0.705, allocations: 1.136 MB / 0.5078 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.705, allocations: 0 / 0.5078 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.7067, allocations: 1.131 MB / 0.5089 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.707, allocations: 144.3 kB / 0.5091 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.7071, allocations: 11.98 kB / 0.5091 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.7075, allocations: 31.94 kB / 0.5091 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.7076, allocations: 36.5 kB / 0.5091 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.7078, allocations: 19.98 kB / 0.5092 GB, free: 6.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.7082, allocations: 247 kB / 0.5094 GB, free: 6.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7082, allocations: 0 / 0.5094 GB, free: 6.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009304/0.7175, allocations: 0.9644 MB / 0.5103 GB, free: 5.176 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.05025/0.7678, allocations: 7.869 MB / 0.518 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.7697, allocations: 0.6928 MB / 0.5187 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/0.7697, allocations: 4 kB / 0.5187 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.7704, allocations: 371.5 kB / 0.5191 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.7718, allocations: 256.7 kB / 0.5193 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.7742, allocations: 1.641 MB / 0.5209 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.7746, allocations: 0.8689 MB / 0.5218 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.7748, allocations: 51.44 kB / 0.5218 GB, free: 9.336 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7748, allocations: 0 / 0.5218 GB, free: 9.336 MB / 446.1 MB Notification: Performance of Templates: time 0.2867/1.062, allocations: 38.66 MB / 0.5596 GB, free: 130.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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 OMCppModelica_trunk_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o] Error 1