Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.002051/0.002051, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001874/0.001874, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 46.62 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05387/0.1848, allocations: 37.25 MB / 364.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3725/0.5574, allocations: 31.58 MB / 396.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.5584, allocations: 8.094 kB / 396.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.56, allocations: 341.4 kB / 396.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.5617, allocations: 0.5093 MB / 396.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02479/0.5865, allocations: 4.148 MB / 401.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.5905, allocations: 2.037 MB / 403.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.591, allocations: 129.8 kB / 403.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.5922, allocations: 467.4 kB / 403.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.5929, allocations: 459 kB / 404.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.5929, allocations: 28.78 kB / 404.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0709/0.6638, allocations: 35.3 MB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.6646, allocations: 134.3 kB / 439.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.6658, allocations: 286.9 kB / 439.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06486/0.7307, allocations: 13.91 MB / 453.8 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.7308, allocations: 0 / 453.8 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.7308, allocations: 0 / 453.8 MB, free: 140 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.168e-05/0.7309, allocations: 0 / 453.8 MB, free: 140 kB / 350.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.0144/0.7453, allocations: 1.422 MB / 455.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.125e-05/0.7454, allocations: 12.02 kB / 455.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.7466, allocations: 95.41 kB / 455.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.7476, allocations: 384.3 kB / 455.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.7476, allocations: 40.98 kB / 455.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.7478, allocations: 51.91 kB / 455.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.7495, allocations: 0.6127 MB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.7496, allocations: 7.938 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.7496, allocations: 20 kB / 456.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.7497, allocations: 15.98 kB / 456.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.751, allocations: 0.523 MB / 457 MB, free: 12.85 MB / 366.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.007412/0.7584, allocations: 3.794 MB / 460.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.7596, allocations: 420.7 kB / 461.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.7599, allocations: 217.3 kB / 461.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004041/0.764, allocations: 3.457 MB / 464.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.7641, allocations: 38.94 kB / 464.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.925e-06/0.7641, allocations: 0 / 464.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.01/0.7741, allocations: 2.026 MB / 466.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.7742, allocations: 55.84 kB / 467 MB, free: 1.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.7746, allocations: 308.4 kB / 467.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.7747, allocations: 37.7 kB / 467.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.7749, allocations: 243.1 kB / 467.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.7751, allocations: 188 kB / 467.7 MB, free: 1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.7753, allocations: 114.3 kB / 467.8 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.7755, allocations: 350.7 kB / 468.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.7758, allocations: 181.2 kB / 468.3 MB, free: 364 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.7763, allocations: 333.8 kB / 468.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.7772, allocations: 0.5484 MB / 469.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.7772, allocations: 0 / 469.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00149/0.7787, allocations: 0.6697 MB / 469.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.7788, allocations: 4 kB / 469.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7788, allocations: 4 kB / 469.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.7884, allocations: 454.4 kB / 470.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.7892, allocations: 139.8 kB / 470.5 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.7919, allocations: 3.003 MB / 473.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.7925, allocations: 39.98 kB / 473.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.7926, allocations: 35.98 kB / 473.6 MB, free: 10.8 MB / 382.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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.793, allocations: 181.7 kB / 473.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/0.7933, allocations: 43.47 kB / 473.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.7952, allocations: 1.057 MB / 474.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/0.7952, allocations: 15.98 kB / 474.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7953, allocations: 64 / 474.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.7967, allocations: 1.095 MB / 475.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.7995, allocations: 1.735 MB / 477.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7995, allocations: 0 / 477.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.7999, allocations: 99.89 kB / 477.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/0.8034, allocations: 345.1 kB / 478.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.8035, allocations: 16 kB / 478.1 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009426/0.8044, allocations: 1.148 MB / 479.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8044, allocations: 0 / 479.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.8063, allocations: 1.139 MB / 480.4 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.8066, allocations: 120.5 kB / 480.5 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.8067, allocations: 16.03 kB / 480.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.8071, allocations: 31.84 kB / 480.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.8072, allocations: 36.5 kB / 480.6 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.8072, allocations: 23.98 kB / 480.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.8076, allocations: 247 kB / 480.9 MB, free: 3.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8076, allocations: 3.938 kB / 480.9 MB, free: 3.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.008692/0.8163, allocations: 0.9644 MB / 481.8 MB, free: 2.266 MB / 382.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05189/0.8682, allocations: 7.855 MB / 489.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.8713, allocations: 0.7127 MB / 490.4 MB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.8714, allocations: 1.125 kB / 490.4 MB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.8724, allocations: 367.5 kB / 490.8 MB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.8742, allocations: 269 kB / 491 MB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.8772, allocations: 1.587 MB / 492.6 MB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.8779, allocations: 0.8687 MB / 493.5 MB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.8781, allocations: 55.44 kB / 493.5 MB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 1.392e-06/0.8781, allocations: 0 / 493.5 MB, free: 6.648 MB / 398.1 MB Notification: Performance of Templates: time 0.06827/0.9463, allocations: 38.61 MB / 0.5197 GB, free: 15.98 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o] Error 1