Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.001089/0.001089, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.925/1.925, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2395/0.2395, allocations: 43.52 MB / 314.1 MB, free: 0.7383 MB / 254.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.001497/0.001498, allocations: 66.33 kB / 382.7 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1564, allocations: 57.79 MB / 440.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.6437/0.8001, allocations: 149 MB / 0.5756 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.8045, allocations: 3.128 MB / 0.5787 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.8046, allocations: 0 / 0.5787 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.8051, allocations: 55.67 kB / 0.5787 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.8084, allocations: 0.9193 MB / 0.5796 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.809, allocations: 180.1 kB / 0.5798 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.8097, allocations: 484.9 kB / 0.5802 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.8098, allocations: 17.08 kB / 0.5803 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.8101, allocations: 134.4 kB / 0.5804 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.8104, allocations: 122.9 kB / 0.5805 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.8104, allocations: 6.844 kB / 0.5805 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.8145, allocations: 1.723 MB / 0.5822 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.8147, allocations: 80.52 kB / 0.5823 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.8149, allocations: 101.7 kB / 0.5824 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.8165, allocations: 0.7525 MB / 0.5831 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8166, allocations: 0 / 0.5831 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.8166, allocations: 0 / 0.5831 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.8166, allocations: 0 / 0.5831 GB, free: 11.01 MB / 430.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.001146/0.8177, allocations: 0.5473 MB / 0.5836 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.8178, allocations: 10.09 kB / 0.5836 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.8215, allocations: 382.7 kB / 0.584 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.822, allocations: 256.5 kB / 0.5843 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.822, allocations: 11.44 kB / 0.5843 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.8221, allocations: 23.47 kB / 0.5843 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.8232, allocations: 0.4895 MB / 0.5848 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.8232, allocations: 1.875 kB / 0.5848 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.535e-05/0.8233, allocations: 9.406 kB / 0.5848 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8233, allocations: 5.375 kB / 0.5848 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.8244, allocations: 0.5179 MB / 0.5853 GB, free: 9.879 MB / 430.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.002486/0.8269, allocations: 0.988 MB / 0.5863 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.8276, allocations: 291 kB / 0.5865 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.8279, allocations: 158.2 kB / 0.5867 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.8299, allocations: 0.8899 MB / 0.5876 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.8299, allocations: 43.09 kB / 0.5876 GB, free: 8.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 4.037e-06/0.8299, allocations: 0 / 0.5876 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001106/0.8311, allocations: 405.1 kB / 0.588 GB, free: 8.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.8311, allocations: 84.05 kB / 0.5881 GB, free: 8.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.8313, allocations: 120.9 kB / 0.5882 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.8313, allocations: 29.08 kB / 0.5882 GB, free: 7.949 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.8314, allocations: 109.2 kB / 0.5883 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.8315, allocations: 111.1 kB / 0.5884 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.8317, allocations: 67.17 kB / 0.5885 GB, free: 7.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.8319, allocations: 320.7 kB / 0.5888 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.8321, allocations: 118 kB / 0.5889 GB, free: 7.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.8325, allocations: 202.7 kB / 0.5891 GB, free: 7.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.8331, allocations: 341.4 kB / 0.5894 GB, free: 7.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8331, allocations: 0 / 0.5894 GB, free: 7.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007855/0.8339, allocations: 380.2 kB / 0.5898 GB, free: 7.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.834, allocations: 7.875 kB / 0.5898 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.834, allocations: 2.188 kB / 0.5898 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.834, allocations: 4.5 kB / 0.5898 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.8345, allocations: 75.73 kB / 0.5899 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.8345, allocations: 12.66 kB / 0.5899 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.8349, allocations: 32.7 kB / 0.5899 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.8349, allocations: 20.39 kB / 0.5899 GB, free: 7.012 MB / 430.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.0002065/0.8351, allocations: 141.1 kB / 0.5901 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.8353, allocations: 22.66 kB / 0.5901 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.8362, allocations: 382.7 kB / 0.5904 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8362, allocations: 2.812 kB / 0.5904 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8362, allocations: 3.984 kB / 0.5905 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.8362, allocations: 3.984 kB / 0.5905 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.8369, allocations: 366.6 kB / 0.5908 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.8369, allocations: 3 kB / 0.5908 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.8374, allocations: 62.17 kB / 0.5909 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.8374, allocations: 0 / 0.5909 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.8374, allocations: 12.81 kB / 0.5909 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.8374, allocations: 2.781 kB / 0.5909 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8375, allocations: 0.9375 kB / 0.5909 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.8384, allocations: 0.548 MB / 0.5914 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.8385, allocations: 93.92 kB / 0.5915 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.8386, allocations: 14.3 kB / 0.5915 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.839, allocations: 18.23 kB / 0.5915 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.8391, allocations: 17.48 kB / 0.5916 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.8391, allocations: 20.61 kB / 0.5916 GB, free: 6.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.704e-05/0.8392, allocations: 88.05 kB / 0.5917 GB, free: 5.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8392, allocations: 0 / 0.5917 GB, free: 5.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001311/0.8405, allocations: 240.1 kB / 0.5919 GB, free: 5.945 MB / 430.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.00126/0.8418, allocations: 429.4 kB / 0.5923 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.8425, allocations: 305.6 kB / 0.5926 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8425, allocations: 0.625 kB / 0.5926 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.8428, allocations: 151.6 kB / 0.5927 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.8435, allocations: 87.42 kB / 0.5928 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.8449, allocations: 0.8237 MB / 0.5936 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.8453, allocations: 0.7344 MB / 0.5943 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.8455, allocations: 39.52 kB / 0.5944 GB, free: 4.281 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8455, allocations: 0 / 0.5944 GB, free: 4.281 MB / 430.1 MB Notification: Performance of Templates: time 0.01156/0.8571, allocations: 6.527 MB / 0.6008 GB, free: 0.9141 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o] Error 1