Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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) 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(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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009941/0.0009997, allocations: 95.89 kB / 16.95 MB, free: 6.41 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.001217/0.001217, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 4 kB / 301.4 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.3025/0.4266, allocations: 34.74 MB / 386.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03305/0.4597, allocations: 28.13 MB / 414.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.4607, allocations: 8.062 kB / 414.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.462, allocations: 308 kB / 415 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.4634, allocations: 496.4 kB / 415.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0159/0.4793, allocations: 3.836 MB / 419.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.4816, allocations: 1.7 MB / 421.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.4819, allocations: 126.2 kB / 421.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.4826, allocations: 474.2 kB / 421.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.4832, allocations: 426.3 kB / 422.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.4833, allocations: 24 kB / 422.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07991/0.5632, allocations: 51.74 MB / 473.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.5637, allocations: 127.5 kB / 473.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.5642, allocations: 137.5 kB / 474.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03829/0.6025, allocations: 13.87 MB / 487.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.6026, allocations: 0 / 487.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.6026, allocations: 0 / 487.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.6026, allocations: 8 kB / 488 MB, free: 11.84 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.01139/0.614, allocations: 1.314 MB / 489.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6141, allocations: 8.031 kB / 489.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.6148, allocations: 95.25 kB / 489.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.6157, allocations: 370.1 kB / 489.7 MB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.6157, allocations: 37 kB / 489.8 MB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.6158, allocations: 48 kB / 489.8 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6172, allocations: 0.6166 MB / 490.4 MB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.6172, allocations: 3.938 kB / 490.4 MB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.6173, allocations: 24 kB / 490.5 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.6173, allocations: 12 kB / 490.5 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.6184, allocations: 0.5268 MB / 491 MB, free: 8.652 MB / 398.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.005671/0.6241, allocations: 3.804 MB / 494.8 MB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.6251, allocations: 414.5 kB / 495.2 MB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.6255, allocations: 216.4 kB / 495.4 MB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004131/0.6296, allocations: 3.549 MB / 499 MB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.6297, allocations: 42.86 kB / 499 MB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 3.236e-06/0.6297, allocations: 0 / 499 MB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009201/0.6389, allocations: 2.042 MB / 0.4893 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.639, allocations: 59.84 kB / 0.4894 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6395, allocations: 304.4 kB / 0.4897 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.6395, allocations: 37.7 kB / 0.4897 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.6398, allocations: 236.6 kB / 0.4899 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.64, allocations: 189.3 kB / 0.4901 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.6401, allocations: 12 kB / 0.4901 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.6403, allocations: 350.8 kB / 0.4904 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.6406, allocations: 173.2 kB / 0.4906 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.6411, allocations: 328.1 kB / 0.4909 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.6416, allocations: 229.3 kB / 0.4911 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6416, allocations: 0 / 0.4911 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001315/0.6429, allocations: 0.685 MB / 0.4918 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6429, allocations: 8 kB / 0.4918 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6429, allocations: 7.953 kB / 0.4918 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007808/0.6508, allocations: 450.5 kB / 0.4923 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.6514, allocations: 139.8 kB / 0.4924 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.6539, allocations: 2.99 MB / 0.4953 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.6545, allocations: 47.98 kB / 0.4954 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.6545, allocations: 35.97 kB / 0.4954 GB, free: 6.938 MB / 414.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.0003302/0.6549, allocations: 185.7 kB / 0.4956 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.655, allocations: 47.48 kB / 0.4956 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.6566, allocations: 1.055 MB / 0.4966 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6566, allocations: 11.98 kB / 0.4966 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6566, allocations: 4 kB / 0.4967 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/0.658, allocations: 1.087 MB / 0.4977 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.6607, allocations: 1.73 MB / 0.4994 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6607, allocations: 0 / 0.4994 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.6611, allocations: 99.83 kB / 0.4995 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.664, allocations: 357 kB / 0.4998 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.664, allocations: 19.98 kB / 0.4999 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.6654, allocations: 1.148 MB / 0.501 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6654, allocations: 0 / 0.501 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.6676, allocations: 1.12 MB / 0.5021 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.668, allocations: 140.3 kB / 0.5022 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.668, allocations: 15.95 kB / 0.5022 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.6683, allocations: 35.95 kB / 0.5023 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.6684, allocations: 36.61 kB / 0.5023 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.6685, allocations: 25.09 kB / 0.5023 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.6688, allocations: 247 kB / 0.5026 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6688, allocations: 4 kB / 0.5026 GB, free: 15.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008787/0.6776, allocations: 0.9604 MB / 0.5035 GB, free: 14.37 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.04891/0.7265, allocations: 7.86 MB / 0.5112 GB, free: 6.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.7287, allocations: 0.6967 MB / 0.5118 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.7287, allocations: 4 kB / 0.5119 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.7294, allocations: 363.5 kB / 0.5122 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.731, allocations: 263.8 kB / 0.5125 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.7341, allocations: 1.638 MB / 0.5141 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.7348, allocations: 0.865 MB / 0.5149 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.735, allocations: 55.42 kB / 0.5149 GB, free: 2.551 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.735, allocations: 0 / 0.5149 GB, free: 2.551 MB / 430.1 MB Notification: Performance of Templates: time 0.2928/1.028, allocations: 38.54 MB / 0.5526 GB, free: 139.3 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o] Error 1