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.0009779/0.0009779, allocations: 85.78 kB / 17.58 MB, free: 5.758 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.001046/0.001046, allocations: 184.1 kB / 18.48 MB, free: 5.207 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.652/1.652, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004654/0.0004657, allocations: 14.19 kB / 281.4 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 47.59 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4315/0.5485, allocations: 137.1 MB / 466.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.5522, allocations: 2.828 MB / 468.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.5523, allocations: 0 / 468.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.5526, allocations: 43.78 kB / 469 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.5546, allocations: 0.6881 MB / 469.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.5551, allocations: 164.8 kB / 469.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.5556, allocations: 410.5 kB / 470.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.5557, allocations: 21.05 kB / 470.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.5559, allocations: 135.5 kB / 470.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.5561, allocations: 111.6 kB / 470.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.5562, allocations: 8 kB / 470.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.5588, allocations: 1.052 MB / 471.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.5589, allocations: 75.77 kB / 471.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.559, allocations: 61.64 kB / 471.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.5599, allocations: 0.6017 MB / 472.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5599, allocations: 0 / 472.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5599, allocations: 4 kB / 472.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.5599, allocations: 0 / 472.3 MB, free: 10.9 MB / 366.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.0008404/0.5608, allocations: 0.4959 MB / 472.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5608, allocations: 8.031 kB / 472.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.564, allocations: 383.8 kB / 473.2 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.5645, allocations: 258.8 kB / 473.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5645, allocations: 8.375 kB / 473.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.5646, allocations: 27.91 kB / 473.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.5656, allocations: 485.5 kB / 473.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5656, allocations: 0 / 473.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.5656, allocations: 16 kB / 473.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5657, allocations: 4 kB / 473.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.5667, allocations: 0.5153 MB / 474.5 MB, free: 8.625 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.002227/0.5689, allocations: 0.9893 MB / 475.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.5695, allocations: 289 kB / 475.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.5698, allocations: 149.7 kB / 475.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.5715, allocations: 0.8971 MB / 476.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5715, allocations: 38.56 kB / 476.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.522e-06/0.5716, allocations: 0 / 476.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.000927/0.5725, allocations: 405.8 kB / 477.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.5726, allocations: 89.05 kB / 477.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.5727, allocations: 105.8 kB / 477.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.5727, allocations: 37.7 kB / 477.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.5728, allocations: 104.4 kB / 477.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.5729, allocations: 106.4 kB / 477.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.5729, allocations: 11.94 kB / 477.7 MB, free: 5.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5731, allocations: 330.8 kB / 478 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.5733, allocations: 120.6 kB / 478.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.5736, allocations: 195.5 kB / 478.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.5739, allocations: 140.4 kB / 478.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5739, allocations: 0 / 478.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006476/0.5746, allocations: 377.2 kB / 478.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5746, allocations: 7.984 kB / 478.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5746, allocations: 4 kB / 478.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5746, allocations: 4 kB / 478.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.575, allocations: 72.22 kB / 478.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.575, allocations: 11.98 kB / 478.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.5753, allocations: 36.38 kB / 478.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.5754, allocations: 16.3 kB / 478.9 MB, free: 3.812 MB / 366.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.0001585/0.5755, allocations: 145.7 kB / 479.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.5756, allocations: 19.8 kB / 479.1 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.5764, allocations: 375.4 kB / 479.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5764, allocations: 7.984 kB / 479.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5764, allocations: 0 / 479.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5765, allocations: 0 / 479.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.577, allocations: 372.5 kB / 479.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5771, allocations: 3.938 kB / 479.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.5775, allocations: 63.89 kB / 479.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.5775, allocations: 0 / 479.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.453e-05/0.5775, allocations: 15.98 kB / 479.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5775, allocations: 4 kB / 479.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5775, allocations: 0 / 479.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.5784, allocations: 0.5457 MB / 480.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.5785, allocations: 92.86 kB / 480.6 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.5785, allocations: 12.06 kB / 480.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.5789, allocations: 15.98 kB / 480.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.5789, allocations: 23.91 kB / 480.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.579, allocations: 15.98 kB / 480.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.5791, allocations: 87.28 kB / 480.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5791, allocations: 0 / 480.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009275/0.58, allocations: 227.7 kB / 480.9 MB, free: 1.723 MB / 366.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.0009493/0.581, allocations: 374.8 kB / 481.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.5816, allocations: 292.8 kB / 481.6 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5816, allocations: 0.625 kB / 481.6 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.5819, allocations: 147.8 kB / 481.7 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.5825, allocations: 85.95 kB / 481.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5838, allocations: 0.9265 MB / 482.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.5841, allocations: 0.7364 MB / 483.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.5843, allocations: 43.42 kB / 483.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5843, allocations: 0 / 483.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Templates: time 0.009498/0.5938, allocations: 6.454 MB / 490 MB, free: 8.605 MB / 382.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++ 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 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