Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 97.09 kB / 16.67 MB, free: 6.59 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.001261/0.001261, allocations: 168.3 kB / 17.57 MB, free: 6.191 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.982/1.982, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2589/0.2589, allocations: 43.59 MB / 315.6 MB, free: 0.4961 MB / 254.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.0005604/0.0005605, allocations: 20.52 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 58.87 MB / 444.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.6022/0.7546, allocations: 147 MB / 0.5773 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.7587, allocations: 3.093 MB / 0.5803 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.7588, allocations: 3 kB / 0.5803 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.7592, allocations: 54.02 kB / 0.5803 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.7616, allocations: 0.9237 MB / 0.5812 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.762, allocations: 186.5 kB / 0.5814 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.7627, allocations: 485.2 kB / 0.5819 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.7628, allocations: 15.5 kB / 0.5819 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.763, allocations: 137 kB / 0.582 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.7633, allocations: 121.5 kB / 0.5821 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.7633, allocations: 8.906 kB / 0.5821 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.7666, allocations: 1.728 MB / 0.5838 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.7667, allocations: 69.94 kB / 0.5839 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.7669, allocations: 127.8 kB / 0.584 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7681, allocations: 0.7443 MB / 0.5847 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7681, allocations: 0 / 0.5847 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.7681, allocations: 2.906 kB / 0.5848 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.7681, allocations: 1.859 kB / 0.5848 GB, free: 11.04 MB / 430.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.001063/0.7692, allocations: 0.5054 MB / 0.5852 GB, free: 10.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.7692, allocations: 8.688 kB / 0.5853 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.773, allocations: 378.9 kB / 0.5856 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.7734, allocations: 257 kB / 0.5859 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.7734, allocations: 12.5 kB / 0.5859 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.7735, allocations: 22.12 kB / 0.5859 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.7746, allocations: 494.1 kB / 0.5864 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.7746, allocations: 2.844 kB / 0.5864 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.7747, allocations: 12.38 kB / 0.5864 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.7747, allocations: 6.188 kB / 0.5864 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.7758, allocations: 0.5125 MB / 0.5869 GB, free: 9.922 MB / 430.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.002469/0.7783, allocations: 0.9885 MB / 0.5879 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.7789, allocations: 293.7 kB / 0.5881 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.7792, allocations: 152.5 kB / 0.5883 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/0.7813, allocations: 0.8973 MB / 0.5892 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.7813, allocations: 39 kB / 0.5892 GB, free: 8.316 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.7813, allocations: 0 / 0.5892 GB, free: 8.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.000994/0.7823, allocations: 402.6 kB / 0.5896 GB, free: 8.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.7824, allocations: 83.52 kB / 0.5897 GB, free: 8.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.7826, allocations: 111.8 kB / 0.5898 GB, free: 8.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.7826, allocations: 32.42 kB / 0.5898 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.7827, allocations: 117.6 kB / 0.5899 GB, free: 7.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.7828, allocations: 103.5 kB / 0.59 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.7829, allocations: 35.52 kB / 0.59 GB, free: 7.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.7831, allocations: 325.8 kB / 0.5903 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.7833, allocations: 113.7 kB / 0.5905 GB, free: 7.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.7837, allocations: 201.5 kB / 0.5906 GB, free: 7.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.7843, allocations: 340 kB / 0.591 GB, free: 7.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7843, allocations: 1.859 kB / 0.591 GB, free: 7.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007743/0.7851, allocations: 389.5 kB / 0.5913 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7852, allocations: 7.375 kB / 0.5914 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7852, allocations: 3.094 kB / 0.5914 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.7852, allocations: 5.906 kB / 0.5914 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.7856, allocations: 73.83 kB / 0.5914 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.7856, allocations: 9.875 kB / 0.5914 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.786, allocations: 34.42 kB / 0.5915 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.786, allocations: 17.66 kB / 0.5915 GB, free: 7.062 MB / 430.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.0001971/0.7862, allocations: 142.7 kB / 0.5916 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.7863, allocations: 18.81 kB / 0.5916 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.7871, allocations: 386.3 kB / 0.592 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.7872, allocations: 6.75 kB / 0.592 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7872, allocations: 0 / 0.592 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.7872, allocations: 0 / 0.592 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.7878, allocations: 376.6 kB / 0.5924 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7878, allocations: 1.75 kB / 0.5924 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.7883, allocations: 64.06 kB / 0.5924 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.7883, allocations: 3.984 kB / 0.5924 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.7883, allocations: 8.406 kB / 0.5925 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7883, allocations: 3.312 kB / 0.5925 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7883, allocations: 0 / 0.5925 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.7893, allocations: 0.5512 MB / 0.593 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.7894, allocations: 93.17 kB / 0.5931 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.7894, allocations: 6.656 kB / 0.5931 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.7898, allocations: 23.72 kB / 0.5931 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.7899, allocations: 20.7 kB / 0.5931 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.7899, allocations: 18.48 kB / 0.5932 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.79, allocations: 90.83 kB / 0.5932 GB, free: 6.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.79, allocations: 0 / 0.5932 GB, free: 6.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00108/0.7911, allocations: 234.2 kB / 0.5935 GB, free: 5.988 MB / 430.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.001148/0.7923, allocations: 430.1 kB / 0.5939 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.7929, allocations: 305.2 kB / 0.5942 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7929, allocations: 2.125 kB / 0.5942 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.7932, allocations: 143.8 kB / 0.5943 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.7939, allocations: 85.39 kB / 0.5944 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.7954, allocations: 0.9481 MB / 0.5953 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.7959, allocations: 0.7346 MB / 0.596 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.7961, allocations: 39.8 kB / 0.5961 GB, free: 4.207 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.7961, allocations: 0 / 0.5961 GB, free: 4.207 MB / 430.1 MB Notification: Performance of Templates: time 0.0127/0.8088, allocations: 6.504 MB / 0.6024 GB, free: 0.8516 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o] Error 1