Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 95.33 kB / 16.96 MB, free: 6.461 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.001384/0.001384, allocations: 183.8 kB / 17.85 MB, free: 5.996 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.535/1.535, allocations: 223.3 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003151, allocations: 8 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2907/0.4083, allocations: 24.57 MB / 376.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.4341, allocations: 22.84 MB / 399.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.4347, allocations: 3.719 kB / 399.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.4356, allocations: 228.1 kB / 399.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.4366, allocations: 348.5 kB / 399.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01383/0.4504, allocations: 2.99 MB / 402.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.4524, allocations: 1.17 MB / 404 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.4526, allocations: 77.16 kB / 404.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.4534, allocations: 347.6 kB / 404.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.4539, allocations: 293.5 kB / 404.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.4539, allocations: 16.31 kB / 404.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06079/0.5147, allocations: 40.21 MB / 444.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.5151, allocations: 87.7 kB / 445 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.5155, allocations: 109.5 kB / 445.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02695/0.5425, allocations: 10.68 MB / 455.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5425, allocations: 4 kB / 455.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5425, allocations: 0 / 455.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.5426, allocations: 0 / 455.8 MB, free: 12.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.008799/0.5514, allocations: 1.061 MB / 456.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5514, allocations: 8.031 kB / 456.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.552, allocations: 68.23 kB / 456.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.5525, allocations: 315.2 kB / 457.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.5525, allocations: 28.66 kB / 457.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.5526, allocations: 32 kB / 457.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.5534, allocations: 455.8 kB / 457.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5534, allocations: 7.938 kB / 457.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.5535, allocations: 16 kB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5535, allocations: 12 kB / 457.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.5542, allocations: 378.3 kB / 458.2 MB, free: 9.754 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.003397/0.5576, allocations: 2.954 MB / 461.1 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.5582, allocations: 287.3 kB / 461.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5585, allocations: 130 kB / 461.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002706/0.5612, allocations: 2.536 MB / 464.1 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5612, allocations: 46.5 kB / 464.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.5612, allocations: 0 / 464.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005088/0.5663, allocations: 1.29 MB / 465.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.5664, allocations: 55.41 kB / 465.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.5667, allocations: 266.5 kB / 465.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.5668, allocations: 33.7 kB / 465.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5669, allocations: 188 kB / 465.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5671, allocations: 122.3 kB / 466 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.5671, allocations: 11.94 kB / 466.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5673, allocations: 346.8 kB / 466.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5675, allocations: 112.8 kB / 466.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.5678, allocations: 226 kB / 466.7 MB, free: 280 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.5681, allocations: 153.8 kB / 466.9 MB, free: 128 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5681, allocations: 0 / 466.9 MB, free: 128 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008563/0.5689, allocations: 454.7 kB / 467.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.569, allocations: 4 kB / 467.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.569, allocations: 4 kB / 467.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/0.5728, allocations: 245.8 kB / 467.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.5731, allocations: 87.95 kB / 467.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.5748, allocations: 1.848 MB / 469.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5751, allocations: 27.92 kB / 469.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.5751, allocations: 24.16 kB / 469.5 MB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * 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: 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 prepare postOptimizeDAE: time 0.0002251/0.5754, allocations: 157.8 kB / 469.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.5754, allocations: 35.61 kB / 469.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5766, allocations: 0.6891 MB / 470.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5766, allocations: 11.94 kB / 470.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.5766, allocations: 0 / 470.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008697/0.5775, allocations: 0.8633 MB / 471.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.579, allocations: 1.182 MB / 472.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5791, allocations: 0 / 472.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.5793, allocations: 71.86 kB / 472.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.5807, allocations: 172.6 kB / 472.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5807, allocations: 16 kB / 472.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004528/0.5812, allocations: 0.5796 MB / 473.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5812, allocations: 0 / 473.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.5822, allocations: 0.7251 MB / 474 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5823, allocations: 128.7 kB / 474.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.5824, allocations: 19.88 kB / 474.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.5826, allocations: 12 kB / 474.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.5827, allocations: 23.97 kB / 474.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.5827, allocations: 15.98 kB / 474.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.583, allocations: 217.9 kB / 474.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.583, allocations: 7.938 kB / 474.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006912/0.5899, allocations: 0.7418 MB / 475.2 MB, free: 7.371 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03744/0.6274, allocations: 6.388 MB / 481.6 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.6285, allocations: 485 kB / 482.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6286, allocations: 0 / 482.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.6289, allocations: 217.8 kB / 482.3 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6301, allocations: 191.4 kB / 482.5 MB, free: 88 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.6318, allocations: 1.113 MB / 483.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.6323, allocations: 0.8129 MB / 484.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.6324, allocations: 39.44 kB / 484.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6324, allocations: 0 / 484.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of Templates: time 0.05157/0.684, allocations: 29.13 MB / 0.5015 GB, free: 0.9102 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.R134a1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.o] Error 1