Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007964/0.0007964, allocations: 94.66 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000907/0.000907, allocations: 198 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.3 MB / 246.6 MB, free: 10.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2852/0.2852, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1955, allocations: 63.46 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5882/0.7838, allocations: 136 MB / 0.6037 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.7877, allocations: 2.912 MB / 0.6065 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.7878, allocations: 0 / 0.6065 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.7882, allocations: 51.72 kB / 0.6065 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.7904, allocations: 0.7076 MB / 0.6072 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.7909, allocations: 160.5 kB / 0.6074 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.7915, allocations: 406.6 kB / 0.6078 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.7916, allocations: 9.125 kB / 0.6078 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.7919, allocations: 139.5 kB / 0.6079 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.7921, allocations: 115.6 kB / 0.608 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.7921, allocations: 12 kB / 0.608 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.7946, allocations: 1.064 MB / 0.6091 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.7948, allocations: 71.77 kB / 0.6092 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.7948, allocations: 65.64 kB / 0.6092 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009029/0.7957, allocations: 0.6061 MB / 0.6098 GB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7958, allocations: 0 / 0.6098 GB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7958, allocations: 4 kB / 0.6098 GB, free: 8.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.7958, allocations: 0 / 0.6098 GB, free: 8.156 MB / 446.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.0007954/0.7966, allocations: 0.4998 MB / 0.6103 GB, free: 7.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7966, allocations: 12.03 kB / 0.6103 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.7999, allocations: 387.8 kB / 0.6107 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.8002, allocations: 258.8 kB / 0.6109 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.8003, allocations: 16.38 kB / 0.6109 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.8003, allocations: 19.98 kB / 0.611 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.8013, allocations: 485.6 kB / 0.6114 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8013, allocations: 0 / 0.6114 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.8014, allocations: 8 kB / 0.6114 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8014, allocations: 4 kB / 0.6114 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.8024, allocations: 0.5151 MB / 0.6119 GB, free: 5.879 MB / 446.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.002125/0.8045, allocations: 0.9809 MB / 0.6129 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.8051, allocations: 297 kB / 0.6132 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.8053, allocations: 141.8 kB / 0.6133 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/0.807, allocations: 0.9761 MB / 0.6143 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.807, allocations: 42.56 kB / 0.6143 GB, free: 3.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.833e-06/0.8071, allocations: 0 / 0.6143 GB, free: 3.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009258/0.808, allocations: 397.9 kB / 0.6147 GB, free: 2.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.808, allocations: 85.09 kB / 0.6148 GB, free: 2.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8082, allocations: 117.8 kB / 0.6149 GB, free: 2.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.8082, allocations: 33.7 kB / 0.6149 GB, free: 2.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.8083, allocations: 112.4 kB / 0.615 GB, free: 2.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.8084, allocations: 106.5 kB / 0.6151 GB, free: 2.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.8084, allocations: 4 kB / 0.6151 GB, free: 2.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8085, allocations: 330.8 kB / 0.6154 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.8088, allocations: 116.5 kB / 0.6156 GB, free: 1.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.8091, allocations: 199.5 kB / 0.6157 GB, free: 1.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.8093, allocations: 140.4 kB / 0.6159 GB, free: 1.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8093, allocations: 0 / 0.6159 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006626/0.81, allocations: 376 kB / 0.6162 GB, free: 1.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.81, allocations: 10.19 kB / 0.6162 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.81, allocations: 0 / 0.6162 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8101, allocations: 8 kB / 0.6163 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.8105, allocations: 71.89 kB / 0.6163 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.8105, allocations: 7.938 kB / 0.6163 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.8108, allocations: 35.67 kB / 0.6164 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.8108, allocations: 20.86 kB / 0.6164 GB, free: 0.9805 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.811, allocations: 145.8 kB / 0.6165 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.8111, allocations: 15.84 kB / 0.6165 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007824/0.8119, allocations: 369.4 kB / 0.6169 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.8119, allocations: 11.92 kB / 0.6169 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8119, allocations: 0 / 0.6169 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.8119, allocations: 7.984 kB / 0.6169 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.8125, allocations: 373 kB / 0.6173 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8125, allocations: 0 / 0.6173 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.8129, allocations: 59.52 kB / 0.6173 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8129, allocations: 0 / 0.6173 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.813, allocations: 12 kB / 0.6173 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.813, allocations: 0.625 kB / 0.6173 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.813, allocations: 3.938 kB / 0.6173 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.8138, allocations: 0.5534 MB / 0.6179 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.8139, allocations: 96.84 kB / 0.618 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.8139, allocations: 8.062 kB / 0.618 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.8143, allocations: 19.92 kB / 0.618 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.8143, allocations: 23.97 kB / 0.618 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.8144, allocations: 15.98 kB / 0.618 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.8144, allocations: 87.59 kB / 0.6181 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8144, allocations: 3.938 kB / 0.6181 GB, free: 15.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008797/0.8153, allocations: 227.8 kB / 0.6183 GB, free: 14.88 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009172/0.8162, allocations: 359.3 kB / 0.6187 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.8168, allocations: 300.1 kB / 0.619 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8168, allocations: 0 / 0.619 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.8171, allocations: 146.2 kB / 0.6191 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.8177, allocations: 89.92 kB / 0.6192 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.819, allocations: 0.9279 MB / 0.6201 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.8193, allocations: 0.7364 MB / 0.6208 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.8195, allocations: 43.42 kB / 0.6209 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.8195, allocations: 0 / 0.6209 GB, free: 12.23 MB / 462.1 MB Notification: Performance of Templates: time 0.009523/0.829, allocations: 6.386 MB / 0.6271 GB, free: 5.836 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAirCalcHelperMain.o] Error 1