Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 94.22 kB / 17.96 MB, free: 5.418 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.001348/0.001348, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.067/2.067, allocations: 205.4 MB / 225 MB, free: 12.83 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.0004946/0.0004946, allocations: 15.12 kB / 282 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 47.59 MB / 329.6 MB, free: 3.715 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.5182/0.6552, allocations: 147 MB / 476.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.6599, allocations: 3.087 MB / 479.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.6601, allocations: 0 / 479.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.6606, allocations: 55.7 kB / 479.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.6635, allocations: 0.9275 MB / 480.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.6641, allocations: 180.8 kB / 480.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.6648, allocations: 482.5 kB / 481.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.6649, allocations: 13.02 kB / 481.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.6652, allocations: 139.5 kB / 481.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.6654, allocations: 127.5 kB / 481.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.6655, allocations: 8 kB / 481.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.6689, allocations: 1.718 MB / 483.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.669, allocations: 67.78 kB / 483.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.6691, allocations: 129.3 kB / 483.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.6704, allocations: 0.7679 MB / 484.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6704, allocations: 0 / 484.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6704, allocations: 0 / 484.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.6704, allocations: 0 / 484.3 MB, free: 15.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009473/0.6714, allocations: 0.4922 MB / 484.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6714, allocations: 8.031 kB / 484.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.6753, allocations: 376.2 kB / 485.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.6757, allocations: 264 kB / 485.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.6758, allocations: 8.938 kB / 485.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.6759, allocations: 27.94 kB / 485.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6771, allocations: 497.3 kB / 486 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6771, allocations: 0 / 486 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.688e-05/0.6772, allocations: 8 kB / 486 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6772, allocations: 7.984 kB / 486 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.6784, allocations: 0.5191 MB / 486.5 MB, free: 12.74 MB / 382.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.002622/0.6811, allocations: 0.9936 MB / 487.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.6817, allocations: 297 kB / 487.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.682, allocations: 153.6 kB / 487.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.684, allocations: 0.897 MB / 488.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.6841, allocations: 38.56 kB / 488.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.6841, allocations: 0 / 488.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001092/0.6852, allocations: 406 kB / 489.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.6853, allocations: 81.11 kB / 489.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6854, allocations: 121.8 kB / 489.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.6854, allocations: 29.7 kB / 489.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.6855, allocations: 108.4 kB / 489.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/0.6856, allocations: 102.4 kB / 489.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.6857, allocations: 37.7 kB / 489.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6858, allocations: 318.8 kB / 490 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6861, allocations: 120.5 kB / 490.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.6864, allocations: 207.5 kB / 490.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.687, allocations: 334.1 kB / 490.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.687, allocations: 0 / 490.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007776/0.6878, allocations: 381 kB / 491.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.6878, allocations: 4 kB / 491.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6878, allocations: 4.312 kB / 491.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6879, allocations: 8 kB / 491.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.6883, allocations: 75.89 kB / 491.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6883, allocations: 4 kB / 491.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.6886, allocations: 31.77 kB / 491.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.6887, allocations: 23.98 kB / 491.2 MB, free: 7.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.6888, allocations: 141.7 kB / 491.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.6889, allocations: 23.75 kB / 491.4 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008076/0.6898, allocations: 372.2 kB / 491.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6898, allocations: 4 kB / 491.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6898, allocations: 3.938 kB / 491.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.6898, allocations: 3.984 kB / 491.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.6905, allocations: 364.6 kB / 492.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6905, allocations: 0 / 492.1 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.6909, allocations: 59.95 kB / 492.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.6909, allocations: 3.938 kB / 492.2 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.691, allocations: 19.92 kB / 492.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.691, allocations: 4 kB / 492.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.691, allocations: 0 / 492.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.6919, allocations: 0.5453 MB / 492.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.6919, allocations: 102.2 kB / 492.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.692, allocations: 8 kB / 492.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.6924, allocations: 15.98 kB / 492.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.6924, allocations: 19.97 kB / 492.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.6925, allocations: 15.98 kB / 492.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.6925, allocations: 87.28 kB / 493 MB, free: 5.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.6926, allocations: 0 / 493 MB, free: 5.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009584/0.6935, allocations: 247.7 kB / 493.2 MB, free: 5.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.6946, allocations: 422.7 kB / 493.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.6953, allocations: 299.9 kB / 493.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6953, allocations: 4 kB / 493.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.6956, allocations: 148.5 kB / 494.1 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.6963, allocations: 84.41 kB / 494.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.6978, allocations: 0.948 MB / 495.1 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.6984, allocations: 0.7365 MB / 495.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.6986, allocations: 39.42 kB / 495.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6986, allocations: 0 / 495.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of Templates: time 0.0128/0.7114, allocations: 6.639 MB / 0.4907 GB, free: 12.17 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAirCalcHelperMain.o] Error 1