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.0009314/0.0009314, allocations: 91.05 kB / 17.95 MB, free: 5.633 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.001298/0.001298, allocations: 176.3 kB / 18.86 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 225 MB, free: 13.06 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.0005681/0.0005684, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.5409/0.6808, allocations: 146.7 MB / 476.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.6829, allocations: 1.514 MB / 477.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.683, allocations: 3.938 kB / 477.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.6834, allocations: 51.78 kB / 477.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009902/0.6844, allocations: 347 kB / 478.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.685, allocations: 155.6 kB / 478.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.6853, allocations: 248.9 kB / 478.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.6854, allocations: 4 kB / 478.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.6856, allocations: 67.7 kB / 478.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.6858, allocations: 63.75 kB / 478.8 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.6858, allocations: 7.984 kB / 478.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.687, allocations: 0.6704 MB / 479.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.6871, allocations: 39.88 kB / 479.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.6872, allocations: 69.5 kB / 479.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004047/0.6876, allocations: 280.9 kB / 479.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6876, allocations: 4 kB / 479.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6876, allocations: 0 / 479.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.6876, allocations: 0 / 479.8 MB, free: 3.551 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.0006086/0.6882, allocations: 404 kB / 480.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6883, allocations: 8.031 kB / 480.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.6905, allocations: 196.6 kB / 480.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.6907, allocations: 212.1 kB / 480.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6908, allocations: 8.312 kB / 480.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.6908, allocations: 12 kB / 480.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.6913, allocations: 197.5 kB / 480.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6913, allocations: 0.75 kB / 480.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.6914, allocations: 8 kB / 480.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6914, allocations: 4 kB / 480.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.692, allocations: 243.7 kB / 481.1 MB, free: 2.195 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.001798/0.6938, allocations: 0.6694 MB / 481.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.6942, allocations: 190.4 kB / 481.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.6944, allocations: 96.75 kB / 482 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.6946, allocations: 93.09 kB / 482.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6947, allocations: 34.5 kB / 482.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.6947, allocations: 8 kB / 482.2 MB, free: 1.02 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.005739/0.7004, allocations: 1.534 MB / 483.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7005, allocations: 59.41 kB / 483.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.7006, allocations: 113.8 kB / 483.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.7006, allocations: 29.7 kB / 483.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.7007, allocations: 96.34 kB / 484 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.7008, allocations: 67.02 kB / 484.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.7009, allocations: 21.7 kB / 484.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.701, allocations: 322.8 kB / 484.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.7013, allocations: 95.81 kB / 484.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.7015, allocations: 123.4 kB / 484.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.702, allocations: 219.3 kB / 484.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.702, allocations: 4 kB / 484.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006292/0.7027, allocations: 286.1 kB / 485.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7027, allocations: 8 kB / 485.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7027, allocations: 7.922 kB / 485.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.7029, allocations: 28.94 kB / 485.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.7033, allocations: 51.91 kB / 485.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/0.7037, allocations: 0.5367 MB / 485.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.704, allocations: 11.97 kB / 485.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.7041, allocations: 11.98 kB / 485.8 MB, free: 13.2 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.7042, allocations: 133.8 kB / 485.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.7043, allocations: 11.89 kB / 485.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/0.7051, allocations: 307.2 kB / 486.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7051, allocations: 7.938 kB / 486.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7051, allocations: 3.938 kB / 486.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7052, allocations: 0 / 486.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.7063, allocations: 0.6758 MB / 486.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7063, allocations: 0 / 486.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.7067, allocations: 55.89 kB / 486.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/0.7068, allocations: 16.84 kB / 487 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.7069, allocations: 8 kB / 487 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009765/0.7078, allocations: 1.268 MB / 488.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7079, allocations: 4.031 kB / 488.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.7087, allocations: 454.8 kB / 488.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.7088, allocations: 85 kB / 488.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.7088, allocations: 4 kB / 488.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.7092, allocations: 23.89 kB / 488.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.7092, allocations: 19.97 kB / 488.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.7093, allocations: 8 kB / 488.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.7093, allocations: 95.56 kB / 488.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7093, allocations: 0 / 488.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000582/0.7099, allocations: 127.9 kB / 489 MB, free: 9.648 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007373/0.7107, allocations: 251 kB / 489.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.7113, allocations: 231.8 kB / 489.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7113, allocations: 3.938 kB / 489.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.7117, allocations: 237.6 kB / 489.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.7122, allocations: 52.2 kB / 489.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.7133, allocations: 0.6035 MB / 490.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.7136, allocations: 0.7049 MB / 491.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.7138, allocations: 31.42 kB / 491.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7138, allocations: 0 / 491.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of Templates: time 0.008346/0.7222, allocations: 5.136 MB / 496.3 MB, free: 2.328 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++ -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 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