Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009264, allocations: 90.83 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.0009463/0.0009463, allocations: 186.9 kB / 18.48 MB, free: 5.203 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.684/1.684, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004762/0.0004762, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.4464/0.5658, allocations: 136.8 MB / 465.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.5679, allocations: 1.388 MB / 467.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.568, allocations: 0 / 467.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.5683, allocations: 41.72 kB / 467.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006997/0.569, allocations: 274.6 kB / 467.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.5694, allocations: 128.6 kB / 467.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.5697, allocations: 215.1 kB / 467.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.5698, allocations: 8 kB / 467.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.5699, allocations: 67.77 kB / 467.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.5701, allocations: 67.73 kB / 468 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.5701, allocations: 4 kB / 468 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008214/0.5709, allocations: 431.2 kB / 468.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.571, allocations: 27.91 kB / 468.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.571, allocations: 45.64 kB / 468.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.5714, allocations: 265 kB / 468.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5714, allocations: 0 / 468.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5714, allocations: 0 / 468.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.5714, allocations: 0 / 468.7 MB, free: 14.44 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004971/0.5719, allocations: 403.9 kB / 469.1 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.572, allocations: 8.031 kB / 469.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.5739, allocations: 196.1 kB / 469.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.5741, allocations: 214.8 kB / 469.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5742, allocations: 8.188 kB / 469.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.5742, allocations: 12 kB / 469.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.5747, allocations: 195 kB / 469.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5747, allocations: 0 / 469.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.5748, allocations: 8 kB / 469.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5748, allocations: 4 kB / 469.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.5754, allocations: 236.4 kB / 470 MB, free: 13.09 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.001671/0.577, allocations: 0.6731 MB / 470.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.5775, allocations: 190.4 kB / 470.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.5777, allocations: 92.81 kB / 470.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5778, allocations: 97.08 kB / 471 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5779, allocations: 34.56 kB / 471 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.5779, allocations: 4 kB / 471.1 MB, free: 11.91 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005018/0.5829, allocations: 1.544 MB / 472.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.583, allocations: 55.41 kB / 472.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.5831, allocations: 109.8 kB / 472.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5831, allocations: 29.7 kB / 472.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.5832, allocations: 100.2 kB / 472.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.5832, allocations: 71 kB / 473 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.5833, allocations: 4 kB / 473 MB, free: 9.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5834, allocations: 318.8 kB / 473.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5836, allocations: 99.81 kB / 473.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5838, allocations: 123.4 kB / 473.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.584, allocations: 91.98 kB / 473.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.584, allocations: 4 kB / 473.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005663/0.5846, allocations: 290.3 kB / 473.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5847, allocations: 6.656 kB / 473.9 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.5847, allocations: 4 kB / 473.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.5848, allocations: 24.84 kB / 473.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.5852, allocations: 55.89 kB / 474 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/0.5856, allocations: 0.5369 MB / 474.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.5858, allocations: 11.91 kB / 474.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.5859, allocations: 11.98 kB / 474.5 MB, free: 8.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.586, allocations: 125.7 kB / 474.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.586, allocations: 12 kB / 474.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.5868, allocations: 311.1 kB / 474.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5868, allocations: 4 kB / 475 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5868, allocations: 4 kB / 475 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5868, allocations: 3.938 kB / 475 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5879, allocations: 0.668 MB / 475.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5879, allocations: 4.031 kB / 475.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.5883, allocations: 55.95 kB / 475.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.766e-05/0.5884, allocations: 28.7 kB / 475.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.5884, allocations: 4 kB / 475.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.5896, allocations: 1.272 MB / 477 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5896, allocations: 0 / 477 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.5905, allocations: 450.7 kB / 477.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.5905, allocations: 85.05 kB / 477.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5906, allocations: 8 kB / 477.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.5909, allocations: 7.984 kB / 477.5 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.5909, allocations: 23.95 kB / 477.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.591, allocations: 11.98 kB / 477.6 MB, free: 4.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.313e-05/0.5911, allocations: 95.25 kB / 477.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5911, allocations: 0 / 477.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.5918, allocations: 123.9 kB / 477.8 MB, free: 4.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000673/0.5925, allocations: 239 kB / 478 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.5931, allocations: 227.8 kB / 478.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5931, allocations: 0 / 478.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.5935, allocations: 238.8 kB / 478.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.5939, allocations: 46.03 kB / 478.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5949, allocations: 0.5905 MB / 479.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5953, allocations: 0.7049 MB / 479.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.5954, allocations: 39.41 kB / 479.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5954, allocations: 0 / 479.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of Templates: time 0.008639/0.6041, allocations: 5.105 MB / 485 MB, free: 13.45 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2MixCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2MixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2MixCalcHelperMain.o] Error 1