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.001324/0.001324, 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.00167/0.00167, 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.899/1.899, allocations: 205.1 MB / 224.6 MB, free: 12.42 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.001215/0.001215, allocations: 48.27 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 46.64 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.5757/0.6999, allocations: 148.9 MB / 476.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.705, allocations: 3.136 MB / 479.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.7052, allocations: 4 kB / 479.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.7058, allocations: 55.7 kB / 479.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.7088, allocations: 0.9199 MB / 480.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.7096, allocations: 184.8 kB / 480.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.7102, allocations: 486.5 kB / 481 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.7103, allocations: 13.08 kB / 481 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.7106, allocations: 139.5 kB / 481.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.711, allocations: 115.6 kB / 481.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.711, allocations: 9.125 kB / 481.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.715, allocations: 1.722 MB / 483 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.7152, allocations: 75.78 kB / 483 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.7153, allocations: 107.6 kB / 483.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.7166, allocations: 0.7563 MB / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7166, allocations: 0 / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.7166, allocations: 0 / 483.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.7166, allocations: 3.938 kB / 483.9 MB, free: 11.15 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001156/0.7178, allocations: 0.5428 MB / 484.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.7179, allocations: 12.02 kB / 484.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.7216, allocations: 380.2 kB / 484.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.7221, allocations: 264 kB / 485.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7221, allocations: 15 kB / 485.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.7222, allocations: 27.94 kB / 485.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.7233, allocations: 494 kB / 485.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.7234, allocations: 0 / 485.6 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.7234, allocations: 8 kB / 485.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7235, allocations: 4 kB / 485.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7246, allocations: 0.5113 MB / 486.1 MB, free: 8.828 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.002588/0.7272, allocations: 0.9897 MB / 487.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.7279, allocations: 297 kB / 487.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.7283, allocations: 163.8 kB / 487.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.7303, allocations: 0.8892 MB / 488.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.7303, allocations: 38.56 kB / 488.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.454e-06/0.7303, allocations: 0 / 488.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001154/0.7315, allocations: 401.8 kB / 488.9 MB, free: 5.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.7316, allocations: 81.11 kB / 489 MB, free: 5.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.7317, allocations: 113.8 kB / 489.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.7318, allocations: 33.64 kB / 489.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7319, allocations: 108.4 kB / 489.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.732, allocations: 122.4 kB / 489.3 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.7322, allocations: 62.02 kB / 489.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.7324, allocations: 318.8 kB / 489.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.7327, allocations: 116.6 kB / 489.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.733, allocations: 211.4 kB / 490 MB, free: 4.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.7336, allocations: 330.1 kB / 490.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7336, allocations: 0 / 490.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008083/0.7344, allocations: 385.6 kB / 490.7 MB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7345, allocations: 4 kB / 490.7 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.7345, allocations: 7.938 kB / 490.7 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.7345, allocations: 4 kB / 490.7 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.735, allocations: 75.89 kB / 490.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.735, allocations: 8.312 kB / 490.8 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.7353, allocations: 31.73 kB / 490.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.7354, allocations: 20 kB / 490.9 MB, free: 3.711 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.7356, allocations: 145.7 kB / 491 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.7358, allocations: 19.78 kB / 491 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.7368, allocations: 372.2 kB / 491.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7368, allocations: 11.88 kB / 491.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7368, allocations: 0 / 491.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7368, allocations: 0 / 491.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.7377, allocations: 372.5 kB / 491.8 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7377, allocations: 0 / 491.8 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.7381, allocations: 55.97 kB / 491.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7381, allocations: 3.984 kB / 491.8 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.7382, allocations: 8 kB / 491.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.7382, allocations: 8 kB / 491.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7382, allocations: 3.938 kB / 491.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.7393, allocations: 0.5492 MB / 492.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.7395, allocations: 88.95 kB / 492.5 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.7395, allocations: 8.062 kB / 492.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.7399, allocations: 23.97 kB / 492.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.74, allocations: 15.98 kB / 492.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.74, allocations: 15.98 kB / 492.5 MB, free: 1.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.049e-05/0.7401, allocations: 91.27 kB / 492.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7401, allocations: 0 / 492.6 MB, free: 1.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001343/0.7414, allocations: 239.7 kB / 492.9 MB, free: 1.613 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.7427, allocations: 434.8 kB / 493.3 MB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.7434, allocations: 293 kB / 493.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7434, allocations: 4.188 kB / 493.6 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.7437, allocations: 149.7 kB / 493.7 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.7443, allocations: 95.67 kB / 493.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.7458, allocations: 0.8318 MB / 494.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.7463, allocations: 0.7287 MB / 495.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.7465, allocations: 39.42 kB / 495.4 MB, free: 15 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.7465, allocations: 0 / 495.4 MB, free: 15 MB / 398.1 MB Notification: Performance of Templates: time 0.01118/0.7577, allocations: 6.649 MB / 0.4903 GB, free: 8.336 MB / 398.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++ -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.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