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.001186/0.001186, allocations: 93.08 kB / 17.96 MB, free: 5.625 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.001494/0.001494, allocations: 175.7 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 225 MB, free: 13.06 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.0004874/0.0004875, allocations: 12 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04105/0.1558, allocations: 36.5 MB / 366.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3403/0.4962, allocations: 31.08 MB / 397.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.4972, allocations: 9.531 kB / 397.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.4986, allocations: 341 kB / 397.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5002, allocations: 0.504 MB / 398 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0218/0.522, allocations: 4.158 MB / 402.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.5262, allocations: 2.037 MB / 404.2 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.5266, allocations: 124.3 kB / 404.4 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.5279, allocations: 459.3 kB / 404.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009525/0.5289, allocations: 452.2 kB / 405.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.028e-05/0.529, allocations: 24.34 kB / 405.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05798/0.587, allocations: 35.3 MB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.5875, allocations: 124.5 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008382/0.5884, allocations: 312.9 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03616/0.6245, allocations: 13.87 MB / 454.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.6246, allocations: 0 / 454.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.61e-06/0.6246, allocations: 0 / 454.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.6247, allocations: 0 / 454.9 MB, free: 0.6875 MB / 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.01244/0.6371, allocations: 1.315 MB / 456.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6372, allocations: 8.031 kB / 456.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.638, allocations: 98.92 kB / 456.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.6386, allocations: 385.8 kB / 456.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.6386, allocations: 37.75 kB / 456.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.6388, allocations: 48.12 kB / 456.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6402, allocations: 0.6208 MB / 457.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.6402, allocations: 3.938 kB / 457.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.6403, allocations: 19.06 kB / 457.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.6403, allocations: 12 kB / 457.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.6413, allocations: 0.5278 MB / 457.9 MB, free: 14 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.005117/0.6464, allocations: 3.813 MB / 461.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.6475, allocations: 414.6 kB / 462.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.6478, allocations: 209.3 kB / 462.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004097/0.6519, allocations: 3.553 MB / 465.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.652, allocations: 34.94 kB / 465.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 5.471e-06/0.652, allocations: 0 / 465.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=54): time 0.009285/0.6613, allocations: 2.046 MB / 468 MB, free: 3.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.6614, allocations: 59.78 kB / 468 MB, free: 2.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.6618, allocations: 308.5 kB / 468.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.6618, allocations: 29.7 kB / 468.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.6621, allocations: 244.1 kB / 468.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.6624, allocations: 183.9 kB / 468.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.6625, allocations: 53.69 kB / 468.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6627, allocations: 362.7 kB / 469.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.663, allocations: 177.2 kB / 469.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.6635, allocations: 329.8 kB / 469.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.6643, allocations: 0.5484 MB / 470.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6643, allocations: 4 kB / 470.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001277/0.6656, allocations: 0.6701 MB / 470.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6656, allocations: 12.03 kB / 470.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6657, allocations: 11.92 kB / 470.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008639/0.6743, allocations: 446 kB / 471.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.6749, allocations: 147.8 kB / 471.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.6777, allocations: 2.994 MB / 474.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.6782, allocations: 52.11 kB / 474.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.6782, allocations: 27.98 kB / 474.6 MB, free: 12.05 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.0003678/0.6786, allocations: 185.7 kB / 474.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.6787, allocations: 43.47 kB / 474.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.6805, allocations: 1.057 MB / 475.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6805, allocations: 15.98 kB / 475.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6805, allocations: 64 / 475.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/0.6818, allocations: 1.087 MB / 477 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.6842, allocations: 1.737 MB / 478.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6842, allocations: 0 / 478.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.6846, allocations: 103.9 kB / 478.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/0.6877, allocations: 357 kB / 479.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.6877, allocations: 19.98 kB / 479.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009633/0.6887, allocations: 1.144 MB / 480.3 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6887, allocations: 3.938 kB / 480.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.6904, allocations: 1.131 MB / 481.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.6907, allocations: 136.4 kB / 481.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.6908, allocations: 19.98 kB / 481.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.6911, allocations: 27.94 kB / 481.6 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.6912, allocations: 36.59 kB / 481.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.6912, allocations: 27.97 kB / 481.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.6916, allocations: 243 kB / 481.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6916, allocations: 0 / 481.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.01007/0.7017, allocations: 0.9682 MB / 482.9 MB, free: 3.492 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.0482/0.7499, allocations: 7.848 MB / 490.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.752, allocations: 0.7018 MB / 491.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.752, allocations: 0 / 491.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.7528, allocations: 367.6 kB / 491.8 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7546, allocations: 265 kB / 492.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.7576, allocations: 1.698 MB / 493.8 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.7583, allocations: 0.8609 MB / 494.6 MB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.7585, allocations: 59.42 kB / 494.7 MB, free: 7.797 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7585, allocations: 0 / 494.7 MB, free: 7.797 MB / 398.1 MB Notification: Performance of Templates: time 0.06223/0.8207, allocations: 38.54 MB / 0.5207 GB, free: 1.191 MB / 430.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