Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 93.86 kB / 17.63 MB, free: 5.719 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.001143/0.001143, allocations: 179.5 kB / 18.52 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.3 MB / 242.5 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 44.22 MB / 337.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 8.625 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5847/0.7502, allocations: 135.8 MB / 0.5937 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.7532, allocations: 2.029 MB / 0.5957 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.7533, allocations: 0 / 0.5957 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.7537, allocations: 35.8 kB / 0.5957 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.7553, allocations: 445.9 kB / 0.5961 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.7557, allocations: 89.12 kB / 0.5962 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.7562, allocations: 299 kB / 0.5965 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.7563, allocations: 11.94 kB / 0.5965 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.7566, allocations: 119.6 kB / 0.5966 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.7568, allocations: 107.6 kB / 0.5967 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.7569, allocations: 8 kB / 0.5968 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.7588, allocations: 0.8618 MB / 0.5976 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.759, allocations: 83.75 kB / 0.5977 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.7591, allocations: 61.64 kB / 0.5977 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007125/0.7598, allocations: 0.4891 MB / 0.5982 GB, free: 6.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7598, allocations: 0 / 0.5982 GB, free: 6.836 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7598, allocations: 0 / 0.5982 GB, free: 6.836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.7598, allocations: 0 / 0.5982 GB, free: 6.836 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007904/0.7606, allocations: 467.8 kB / 0.5987 GB, free: 6.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7607, allocations: 12.02 kB / 0.5987 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/0.7667, allocations: 0.7253 MB / 0.5994 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.7672, allocations: 274.8 kB / 0.5996 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.7672, allocations: 8.328 kB / 0.5996 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7673, allocations: 31.84 kB / 0.5997 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.7688, allocations: 0.7016 MB / 0.6004 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.7688, allocations: 4 kB / 0.6004 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.7689, allocations: 4 kB / 0.6004 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.7689, allocations: 11.98 kB / 0.6004 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.7709, allocations: 0.9134 MB / 0.6013 GB, free: 3.602 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.004524/0.7754, allocations: 1.99 MB / 0.6032 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7766, allocations: 0.5009 MB / 0.6037 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.7772, allocations: 331.8 kB / 0.604 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/0.778, allocations: 375.2 kB / 0.6044 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.7781, allocations: 42.48 kB / 0.6044 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.073e-06/0.7781, allocations: 0 / 0.6044 GB, free: 108 kB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.00209/0.7802, allocations: 0.8889 MB / 0.6053 GB, free: 15.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.7803, allocations: 81.11 kB / 0.6054 GB, free: 15.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.7804, allocations: 137.7 kB / 0.6055 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.7805, allocations: 33.7 kB / 0.6055 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.7806, allocations: 112.4 kB / 0.6056 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.7807, allocations: 102.5 kB / 0.6057 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.7808, allocations: 8 kB / 0.6057 GB, free: 14.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7809, allocations: 330.8 kB / 0.6061 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.7816, allocations: 295.8 kB / 0.6063 GB, free: 14.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.7823, allocations: 405.2 kB / 0.6067 GB, free: 13.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.783, allocations: 331.3 kB / 0.607 GB, free: 13.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.783, allocations: 0 / 0.607 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00162/0.7846, allocations: 0.7475 MB / 0.6078 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.7847, allocations: 8 kB / 0.6078 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7847, allocations: 4 kB / 0.6078 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.7847, allocations: 4 kB / 0.6078 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.7856, allocations: 103.8 kB / 0.6079 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.7857, allocations: 8.062 kB / 0.6079 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.7864, allocations: 59.7 kB / 0.6079 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.7865, allocations: 15.98 kB / 0.608 GB, free: 12.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.00026/0.7867, allocations: 150.2 kB / 0.6081 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.787, allocations: 19.83 kB / 0.6081 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.789, allocations: 0.7751 MB / 0.6089 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.789, allocations: 4 kB / 0.6089 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7891, allocations: 0 / 0.6089 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7891, allocations: 4 kB / 0.6089 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.7903, allocations: 0.8019 MB / 0.6097 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7903, allocations: 0 / 0.6097 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.7912, allocations: 75.92 kB / 0.6097 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.7912, allocations: 7.984 kB / 0.6098 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.7913, allocations: 11.98 kB / 0.6098 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.7913, allocations: 4 kB / 0.6098 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7913, allocations: 3.938 kB / 0.6098 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7934, allocations: 0.9615 MB / 0.6107 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7935, allocations: 96.86 kB / 0.6108 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.7936, allocations: 7.984 kB / 0.6108 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/0.7944, allocations: 39.95 kB / 0.6109 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.7944, allocations: 11.98 kB / 0.6109 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.251e-05/0.7945, allocations: 27.92 kB / 0.6109 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.7946, allocations: 99.27 kB / 0.611 GB, free: 9.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7946, allocations: 0 / 0.611 GB, free: 9.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009011/0.7955, allocations: 183.9 kB / 0.6112 GB, free: 8.949 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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.0008811/0.7964, allocations: 289.4 kB / 0.6114 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.7979, allocations: 0.6513 MB / 0.6121 GB, free: 8.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7979, allocations: 8 kB / 0.6121 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.7986, allocations: 327.7 kB / 0.6124 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.7993, allocations: 91.86 kB / 0.6125 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.8014, allocations: 1.172 MB / 0.6136 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.8018, allocations: 0.7368 MB / 0.6143 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.8022, allocations: 51.39 kB / 0.6144 GB, free: 5.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.8022, allocations: 0 / 0.6144 GB, free: 5.57 MB / 446.1 MB Notification: Performance of Templates: time 0.0159/0.8181, allocations: 9.887 MB / 0.624 GB, free: 11.61 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.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_4.0.0_ModelicaTest.Media.TestOnly.FlueGasCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGasCalcHelperMain.o] Error 1