Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_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.0009786/0.0009786, allocations: 88.5 kB / 17.63 MB, free: 6.133 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.001209/0.001209, allocations: 188 kB / 18.52 MB, free: 5.297 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.494/1.494, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.23 MB / 337.9 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 12.22 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5425/0.6939, allocations: 136 MB / 0.5939 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.6976, allocations: 2.911 MB / 0.5967 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.6977, allocations: 7.938 kB / 0.5967 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.698, allocations: 43.8 kB / 0.5968 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.6998, allocations: 0.7037 MB / 0.5975 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.7002, allocations: 165.3 kB / 0.5976 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.7007, allocations: 402.5 kB / 0.598 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.7008, allocations: 20.95 kB / 0.598 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.7011, allocations: 143.5 kB / 0.5982 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.7013, allocations: 111.6 kB / 0.5983 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.7013, allocations: 8 kB / 0.5983 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.7036, allocations: 1.064 MB / 0.5993 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.7037, allocations: 71.77 kB / 0.5994 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.7038, allocations: 61.64 kB / 0.5994 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000861/0.7047, allocations: 0.6022 MB / 0.6 GB, free: 4.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7047, allocations: 0 / 0.6 GB, free: 4.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.7047, allocations: 4 kB / 0.6 GB, free: 4.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.7047, allocations: 3.938 kB / 0.6 GB, free: 4.941 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.000872/0.7056, allocations: 0.4959 MB / 0.6005 GB, free: 4.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.7057, allocations: 8.031 kB / 0.6005 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.7089, allocations: 387.2 kB / 0.6009 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.7093, allocations: 250.8 kB / 0.6011 GB, free: 3.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.7093, allocations: 12.38 kB / 0.6011 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.7094, allocations: 23.95 kB / 0.6012 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.7103, allocations: 489.5 kB / 0.6016 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7103, allocations: 0 / 0.6016 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.7104, allocations: 8 kB / 0.6016 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.7104, allocations: 11.94 kB / 0.6017 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.7114, allocations: 0.4996 MB / 0.6021 GB, free: 2.684 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.00213/0.7135, allocations: 0.9854 MB / 0.6031 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.7141, allocations: 292.5 kB / 0.6034 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.7144, allocations: 149.7 kB / 0.6035 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.7161, allocations: 0.984 MB / 0.6045 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.7161, allocations: 42.55 kB / 0.6045 GB, free: 15.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.7161, allocations: 3.938 kB / 0.6045 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008893/0.717, allocations: 393.7 kB / 0.6049 GB, free: 15.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.7171, allocations: 85.05 kB / 0.605 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.7172, allocations: 117.8 kB / 0.6051 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.7173, allocations: 33.7 kB / 0.6051 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.7173, allocations: 112.4 kB / 0.6052 GB, free: 15.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/0.7174, allocations: 106.5 kB / 0.6053 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.7175, allocations: 8 kB / 0.6054 GB, free: 15.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7176, allocations: 322.8 kB / 0.6057 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.7179, allocations: 112.6 kB / 0.6058 GB, free: 14.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.7181, allocations: 199.5 kB / 0.606 GB, free: 14.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.7184, allocations: 143.8 kB / 0.6061 GB, free: 14.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7184, allocations: 0 / 0.6061 GB, free: 14.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006807/0.7191, allocations: 377.4 kB / 0.6065 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.7191, allocations: 15.88 kB / 0.6065 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7192, allocations: 0 / 0.6065 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7192, allocations: 4 kB / 0.6065 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.7196, allocations: 80.77 kB / 0.6066 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.7196, allocations: 8.562 kB / 0.6066 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.7199, allocations: 35.67 kB / 0.6066 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.7199, allocations: 16.09 kB / 0.6066 GB, free: 13.77 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.7201, allocations: 142.3 kB / 0.6067 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.7202, allocations: 19.84 kB / 0.6068 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.7209, allocations: 373.4 kB / 0.6071 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.721, allocations: 4 kB / 0.6071 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.721, allocations: 2.562 kB / 0.6071 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.721, allocations: 4 kB / 0.6071 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.7216, allocations: 361.3 kB / 0.6075 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7216, allocations: 3.953 kB / 0.6075 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.722, allocations: 55.91 kB / 0.6075 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.722, allocations: 0 / 0.6075 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.722, allocations: 15.98 kB / 0.6075 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.722, allocations: 4 kB / 0.6075 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.722, allocations: 0 / 0.6075 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/0.7229, allocations: 0.5533 MB / 0.6081 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.723, allocations: 96.81 kB / 0.6082 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.723, allocations: 8.062 kB / 0.6082 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.7234, allocations: 19.92 kB / 0.6082 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.7234, allocations: 23.91 kB / 0.6082 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.7235, allocations: 23.98 kB / 0.6083 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.62e-05/0.7235, allocations: 91.27 kB / 0.6083 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7235, allocations: 0 / 0.6083 GB, free: 11.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.7244, allocations: 211.9 kB / 0.6085 GB, free: 11.69 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008938/0.7253, allocations: 366.8 kB / 0.6089 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000585/0.7259, allocations: 300 kB / 0.6092 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7259, allocations: 0 / 0.6092 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.7262, allocations: 143.8 kB / 0.6093 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.7268, allocations: 90.41 kB / 0.6094 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.7281, allocations: 0.924 MB / 0.6103 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.7285, allocations: 0.7365 MB / 0.611 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.7287, allocations: 43.41 kB / 0.6111 GB, free: 9.039 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.7287, allocations: 0 / 0.6111 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Templates: time 0.009319/0.738, allocations: 6.284 MB / 0.6172 GB, free: 2.75 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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 OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o] Error 1