Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001427/0.001427, allocations: 194 kB / 18.72 MB, free: 4.762 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.808/1.808, allocations: 205.1 MB / 224.6 MB, free: 12.39 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.001292/0.001293, allocations: 47.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.5453/0.6792, allocations: 152.1 MB / 479.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.6841, allocations: 3.14 MB / 482.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.6843, allocations: 0 / 482.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.685, allocations: 103.6 kB / 482.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.6883, allocations: 1.095 MB / 483.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.6895, allocations: 352.1 kB / 484 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.6904, allocations: 0.6234 MB / 484.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.6905, allocations: 9.562 kB / 484.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.6909, allocations: 207.2 kB / 484.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.6912, allocations: 163.5 kB / 485 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.6913, allocations: 12 kB / 485 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.6964, allocations: 2.486 MB / 487.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.6966, allocations: 127.7 kB / 487.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.6968, allocations: 159.3 kB / 487.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.6993, allocations: 1.255 MB / 489 MB, free: 5.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.6994, allocations: 0 / 489 MB, free: 5.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6994, allocations: 0 / 489 MB, free: 5.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.6994, allocations: 0 / 489 MB, free: 5.879 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002632/0.702, allocations: 0.7651 MB / 489.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.7021, allocations: 8.031 kB / 489.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.7045, allocations: 264.3 kB / 490 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.705, allocations: 295.8 kB / 490.3 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.705, allocations: 20.5 kB / 490.4 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.7051, allocations: 31.98 kB / 490.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.7066, allocations: 0.6705 MB / 491.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.7066, allocations: 0 / 491.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.7067, allocations: 16 kB / 491.1 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.7067, allocations: 16.44 kB / 491.1 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.7085, allocations: 0.7628 MB / 491.8 MB, free: 2.941 MB / 382.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.004264/0.7128, allocations: 1.814 MB / 493.7 MB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.7141, allocations: 473 kB / 494.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.7148, allocations: 246.4 kB / 494.4 MB, free: 312 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/0.7175, allocations: 1.38 MB / 495.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.7176, allocations: 46.5 kB / 495.8 MB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.7176, allocations: 0 / 495.8 MB, free: 14.65 MB / 398.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01492/0.7325, allocations: 3.71 MB / 499.5 MB, free: 10.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.7326, allocations: 85.11 kB / 499.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.7329, allocations: 178.5 kB / 499.8 MB, free: 10.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.7329, allocations: 37.7 kB / 499.8 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.7331, allocations: 180.1 kB / 500 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.7333, allocations: 177.5 kB / 0.4884 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.7336, allocations: 110.3 kB / 0.4885 GB, free: 9.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7338, allocations: 342.8 kB / 0.4889 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.7345, allocations: 269.1 kB / 0.4891 GB, free: 9.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009339/0.7355, allocations: 417.5 kB / 0.4895 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.7372, allocations: 0.7069 MB / 0.4902 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7372, allocations: 0 / 0.4902 GB, free: 8.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002023/0.7392, allocations: 0.7922 MB / 0.491 GB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.7393, allocations: 11.94 kB / 0.491 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.7393, allocations: 4 kB / 0.491 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.7395, allocations: 57.62 kB / 0.491 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7407, allocations: 175.8 kB / 0.4912 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.7417, allocations: 1.081 MB / 0.4923 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.7424, allocations: 48.14 kB / 0.4923 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.7425, allocations: 35.98 kB / 0.4923 GB, free: 5.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003216/0.7428, allocations: 177.6 kB / 0.4925 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.743, allocations: 27.7 kB / 0.4925 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.7454, allocations: 0.7784 MB / 0.4933 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7454, allocations: 7.938 kB / 0.4933 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.7454, allocations: 0 / 0.4933 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.7454, allocations: 3.984 kB / 0.4933 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.749, allocations: 1.546 MB / 0.4948 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7491, allocations: 224 / 0.4948 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7501, allocations: 155.7 kB / 0.495 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.7503, allocations: 45.62 kB / 0.495 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.7504, allocations: 23.92 kB / 0.495 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.7526, allocations: 2.54 MB / 0.4975 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7526, allocations: 4.031 kB / 0.4975 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.7553, allocations: 1.072 MB / 0.4986 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7555, allocations: 100.8 kB / 0.4987 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.7556, allocations: 15.94 kB / 0.4987 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.7563, allocations: 47.94 kB / 0.4987 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.7564, allocations: 43.88 kB / 0.4988 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.7565, allocations: 31.97 kB / 0.4988 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.7567, allocations: 132.4 kB / 0.4989 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7568, allocations: 0 / 0.4989 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002099/0.7589, allocations: 407.8 kB / 0.4993 GB, free: 14.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002863/0.7617, allocations: 0.8576 MB / 0.5001 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.7637, allocations: 0.6521 MB / 0.5008 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7637, allocations: 4 kB / 0.5008 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7649, allocations: 0.5322 MB / 0.5013 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.7657, allocations: 109.2 kB / 0.5014 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.7681, allocations: 1.142 MB / 0.5025 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.7687, allocations: 0.7813 MB / 0.5033 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.7691, allocations: 83.36 kB / 0.5034 GB, free: 9.957 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7691, allocations: 0 / 0.5034 GB, free: 9.957 MB / 414.1 MB Notification: Performance of Templates: time 0.02727/0.7964, allocations: 14.61 MB / 0.5176 GB, free: 11.31 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.MixtureGasesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o] Error 1