Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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 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.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009245, allocations: 98.16 kB / 17.96 MB, free: 5.77 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.001263/0.001264, allocations: 176.1 kB / 18.86 MB, free: 4.906 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.989/1.989, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005802/0.000581, allocations: 8 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.5165/0.6552, allocations: 146.8 MB / 476.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.6588, allocations: 2.108 MB / 478.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.6589, allocations: 7.938 kB / 478.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.6594, allocations: 55.78 kB / 478.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.6611, allocations: 0.5485 MB / 479.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.6615, allocations: 87.81 kB / 479.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.662, allocations: 382.8 kB / 479.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.6621, allocations: 8 kB / 479.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.6624, allocations: 117.1 kB / 479.8 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.6627, allocations: 104.9 kB / 479.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.6627, allocations: 4 kB / 479.9 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.6649, allocations: 1.204 MB / 481.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.6651, allocations: 79.77 kB / 481.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.6652, allocations: 113.4 kB / 481.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.6661, allocations: 0.5183 MB / 481.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.6661, allocations: 4 kB / 481.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6661, allocations: 0 / 481.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.6662, allocations: 0 / 481.8 MB, free: 1.613 MB / 366.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.0009094/0.6671, allocations: 467.9 kB / 482.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.6671, allocations: 12.03 kB / 482.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007207/0.6743, allocations: 0.7189 MB / 483 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.675, allocations: 280 kB / 483.2 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.675, allocations: 16.83 kB / 483.3 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6752, allocations: 19.94 kB / 483.3 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.6769, allocations: 0.7155 MB / 484 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.6769, allocations: 0 / 484 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.677, allocations: 8.875 kB / 484 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.6771, allocations: 8 kB / 484 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.6792, allocations: 0.9289 MB / 484.9 MB, free: 14.36 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.005239/0.6844, allocations: 2.001 MB / 486.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.6857, allocations: 0.5048 MB / 487.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.6865, allocations: 325.5 kB / 487.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/0.6874, allocations: 270 kB / 488 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.6875, allocations: 39.88 kB / 488.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.537e-06/0.6875, allocations: 0 / 488.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00256/0.6901, allocations: 0.8965 MB / 489 MB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.6902, allocations: 81.11 kB / 489 MB, free: 9.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6903, allocations: 125.8 kB / 489.2 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.6904, allocations: 29.7 kB / 489.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.6905, allocations: 120.3 kB / 489.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.6907, allocations: 102.5 kB / 489.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.6908, allocations: 33.7 kB / 489.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.691, allocations: 330.8 kB / 489.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.6918, allocations: 295.8 kB / 490 MB, free: 8.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/0.6926, allocations: 408.2 kB / 490.4 MB, free: 8.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6941, allocations: 0.6997 MB / 491.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.6942, allocations: 0 / 491.1 MB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001879/0.696, allocations: 0.7394 MB / 491.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.6961, allocations: 12 kB / 491.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6961, allocations: 0 / 491.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.6962, allocations: 8 kB / 491.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6973, allocations: 103.8 kB / 492 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.6973, allocations: 4 kB / 492 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/0.6982, allocations: 59.64 kB / 492.1 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6984, allocations: 23.98 kB / 492.1 MB, free: 6.789 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.6987, allocations: 137.8 kB / 492.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.6989, allocations: 27.69 kB / 492.3 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.7011, allocations: 0.7755 MB / 493 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.7011, allocations: 0 / 493 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7011, allocations: 4 kB / 493 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.7012, allocations: 3.984 kB / 493 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.7025, allocations: 0.8067 MB / 493.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7026, allocations: 3.938 kB / 493.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.7036, allocations: 79.91 kB / 493.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.7037, allocations: 4 kB / 493.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.7038, allocations: 23.97 kB / 494 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7038, allocations: 0 / 494 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7038, allocations: 3.938 kB / 494 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.7062, allocations: 0.9609 MB / 494.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.7063, allocations: 88.95 kB / 495 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.7064, allocations: 8 kB / 495 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7074, allocations: 43.89 kB / 495.1 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.7075, allocations: 15.97 kB / 495.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.7076, allocations: 23.97 kB / 495.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.7077, allocations: 95.27 kB / 495.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7077, allocations: 0 / 495.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001146/0.7088, allocations: 183.8 kB / 495.4 MB, free: 3.359 MB / 382.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 (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.001429/0.7103, allocations: 346.8 kB / 495.7 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.7122, allocations: 0.6595 MB / 496.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.7122, allocations: 0 / 496.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.713, allocations: 332.5 kB / 496.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008891/0.7139, allocations: 98.03 kB / 496.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.7162, allocations: 1.177 MB / 498 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.7168, allocations: 0.7291 MB / 498.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.7172, allocations: 47.34 kB / 498.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of SimCode: time 1.011e-06/0.7172, allocations: 4 kB / 498.7 MB, free: 15.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01958/0.7368, allocations: 10.16 MB / 0.497 GB, free: 5.672 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.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.FlueGasCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGasCalcHelperMain.o] Error 1