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.0008908/0.0008909, allocations: 92.88 kB / 16.33 MB, free: 6.414 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.0009648/0.0009645, allocations: 183.5 kB / 17.22 MB, free: 6.309 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.549/1.549, allocations: 205.4 MB / 223.4 MB, free: 5.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3655/0.3655, allocations: 43.55 MB / 315.2 MB, free: 8.816 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.0004909/0.0004909, allocations: 16 kB / 384.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.418/0.5437, allocations: 137.1 MB / 0.5669 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.5469, allocations: 2.811 MB / 0.5697 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.5469, allocations: 4 kB / 0.5697 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.5472, allocations: 43.72 kB / 0.5697 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.5488, allocations: 0.692 MB / 0.5704 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.5492, allocations: 167.8 kB / 0.5706 GB, free: 15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.5497, allocations: 410.5 kB / 0.571 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.5497, allocations: 11.78 kB / 0.571 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.55, allocations: 135.5 kB / 0.5711 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.5502, allocations: 115.6 kB / 0.5712 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.5502, allocations: 8 kB / 0.5712 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.5523, allocations: 1.056 MB / 0.5722 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.5524, allocations: 79.75 kB / 0.5723 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.5525, allocations: 61.64 kB / 0.5724 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.5532, allocations: 0.5906 MB / 0.573 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.5532, allocations: 0 / 0.573 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5533, allocations: 0 / 0.573 GB, free: 12.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.5533, allocations: 4 kB / 0.573 GB, free: 12.54 MB / 446.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.0006914/0.554, allocations: 0.4949 MB / 0.5734 GB, free: 12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.554, allocations: 16.02 kB / 0.5735 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.5571, allocations: 372.5 kB / 0.5738 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.5575, allocations: 262.8 kB / 0.5741 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.5575, allocations: 16.38 kB / 0.5741 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.5576, allocations: 20 kB / 0.5741 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.5585, allocations: 487 kB / 0.5746 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5585, allocations: 0 / 0.5746 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.5586, allocations: 12 kB / 0.5746 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5586, allocations: 4 kB / 0.5746 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000948/0.5596, allocations: 0.5152 MB / 0.5751 GB, free: 10.28 MB / 446.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.002103/0.5617, allocations: 0.9906 MB / 0.576 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.5623, allocations: 293.2 kB / 0.5763 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.5625, allocations: 154.7 kB / 0.5765 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.564, allocations: 0.8892 MB / 0.5773 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5641, allocations: 34.56 kB / 0.5774 GB, free: 7.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.5641, allocations: 4 kB / 0.5774 GB, free: 7.707 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008674/0.5649, allocations: 403.8 kB / 0.5778 GB, free: 7.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.565, allocations: 89.06 kB / 0.5778 GB, free: 7.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.5651, allocations: 109.8 kB / 0.578 GB, free: 7.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.5651, allocations: 33.7 kB / 0.578 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.5652, allocations: 112.3 kB / 0.5781 GB, free: 6.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.5653, allocations: 106.5 kB / 0.5782 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.5653, allocations: 11.94 kB / 0.5782 GB, free: 6.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5654, allocations: 318.8 kB / 0.5785 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.5657, allocations: 124.6 kB / 0.5786 GB, free: 6.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.5659, allocations: 199.5 kB / 0.5788 GB, free: 6.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.5662, allocations: 141.5 kB / 0.579 GB, free: 6.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5662, allocations: 0 / 0.579 GB, free: 6.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000633/0.5668, allocations: 383.9 kB / 0.5793 GB, free: 5.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5669, allocations: 7.984 kB / 0.5793 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5669, allocations: 4 kB / 0.5793 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5669, allocations: 4 kB / 0.5793 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5673, allocations: 75.89 kB / 0.5794 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5673, allocations: 11.94 kB / 0.5794 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.5676, allocations: 39.95 kB / 0.5795 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.5676, allocations: 19.98 kB / 0.5795 GB, free: 5.469 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.0001302/0.5678, allocations: 141.7 kB / 0.5796 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.5678, allocations: 16.58 kB / 0.5796 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.5686, allocations: 379.9 kB / 0.58 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5686, allocations: 4 kB / 0.58 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5686, allocations: 0 / 0.58 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5686, allocations: 3.938 kB / 0.58 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.5691, allocations: 357.5 kB / 0.5803 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5692, allocations: 4.922 kB / 0.5803 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.5695, allocations: 55.97 kB / 0.5804 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5695, allocations: 0 / 0.5804 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.5696, allocations: 11.98 kB / 0.5804 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.5696, allocations: 7.938 kB / 0.5804 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5696, allocations: 4 kB / 0.5804 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.5704, allocations: 0.5506 MB / 0.581 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.5705, allocations: 88.95 kB / 0.581 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.5705, allocations: 8.062 kB / 0.581 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.5708, allocations: 23.89 kB / 0.5811 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.5709, allocations: 25.97 kB / 0.5811 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.5709, allocations: 15.98 kB / 0.5811 GB, free: 3.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.571, allocations: 83.28 kB / 0.5812 GB, free: 3.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.571, allocations: 0 / 0.5812 GB, free: 3.621 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007437/0.5717, allocations: 231.7 kB / 0.5814 GB, free: 3.395 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.000793/0.5725, allocations: 366.8 kB / 0.5818 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.5731, allocations: 295.9 kB / 0.582 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5731, allocations: 0 / 0.582 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.5734, allocations: 143.9 kB / 0.5822 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.574, allocations: 88.66 kB / 0.5823 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5752, allocations: 0.9271 MB / 0.5832 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.5755, allocations: 0.7365 MB / 0.5839 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5756, allocations: 35.42 kB / 0.5839 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5756, allocations: 0 / 0.5839 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of Templates: time 0.008894/0.5845, allocations: 6.324 MB / 0.5901 GB, free: 10.45 MB / 462.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++ 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_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