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.0007856/0.0007855, allocations: 86.27 kB / 17.58 MB, free: 5.801 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.0008308/0.0008307, allocations: 189.7 kB / 18.48 MB, free: 5.25 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.67/1.67, allocations: 205.4 MB / 224.6 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.00046/0.00046, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.4197/0.5382, allocations: 136.9 MB / 465.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.5407, allocations: 1.931 MB / 467.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.5408, allocations: 0 / 467.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.5411, allocations: 40.5 kB / 467.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.5423, allocations: 437.9 kB / 468.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.5426, allocations: 83.81 kB / 468.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.543, allocations: 302.9 kB / 468.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.5431, allocations: 4.562 kB / 468.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.5434, allocations: 127.5 kB / 468.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.5436, allocations: 103.7 kB / 468.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.5436, allocations: 4 kB / 468.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.5451, allocations: 0.8579 MB / 469.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.5452, allocations: 87.75 kB / 469.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.5453, allocations: 65.58 kB / 469.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.5459, allocations: 484.4 kB / 470.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5459, allocations: 4 kB / 470.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5459, allocations: 0 / 470.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.546, allocations: 0 / 470.4 MB, free: 12.74 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.0007384/0.5467, allocations: 463.9 kB / 470.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5468, allocations: 8.031 kB / 470.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.5525, allocations: 0.7335 MB / 471.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.553, allocations: 282.6 kB / 471.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.553, allocations: 13.2 kB / 471.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.875e-05/0.5531, allocations: 19.98 kB / 471.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5545, allocations: 0.7073 MB / 472.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5545, allocations: 0 / 472.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.5546, allocations: 12 kB / 472.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.5546, allocations: 11.98 kB / 472.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5566, allocations: 0.9173 MB / 473.6 MB, free: 9.492 MB / 366.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.00448/0.5611, allocations: 2.009 MB / 475.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5622, allocations: 0.5026 MB / 476.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.5629, allocations: 321.6 kB / 476.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.5637, allocations: 266.1 kB / 476.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.5638, allocations: 38.91 kB / 476.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/0.5638, allocations: 4 kB / 476.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.00215/0.5659, allocations: 0.8954 MB / 477.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.566, allocations: 85.11 kB / 477.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.5661, allocations: 131.5 kB / 477.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.5662, allocations: 29.7 kB / 477.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.5663, allocations: 124.4 kB / 477.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5664, allocations: 98.56 kB / 478 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.5665, allocations: 7.938 kB / 478 MB, free: 4.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5666, allocations: 326.8 kB / 478.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.5672, allocations: 299.8 kB / 478.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.5679, allocations: 404.2 kB / 479.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.5686, allocations: 323.8 kB / 479.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5686, allocations: 0 / 479.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001547/0.5702, allocations: 0.7472 MB / 480.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5702, allocations: 8 kB / 480.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5702, allocations: 8.359 kB / 480.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.5702, allocations: 8 kB / 480.1 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.5711, allocations: 95.8 kB / 480.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.5711, allocations: 11.98 kB / 480.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.5718, allocations: 51.66 kB / 480.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.5719, allocations: 23.98 kB / 480.3 MB, free: 2.375 MB / 366.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.0002143/0.5722, allocations: 153.6 kB / 480.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5723, allocations: 11.91 kB / 480.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.5742, allocations: 0.772 MB / 481.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5742, allocations: 8 kB / 481.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5742, allocations: 0 / 481.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5742, allocations: 11.94 kB / 481.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5753, allocations: 0.7981 MB / 482.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.5753, allocations: 7.812 kB / 482.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5762, allocations: 79.86 kB / 482.2 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5762, allocations: 3.984 kB / 482.2 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.5763, allocations: 15.94 kB / 482.2 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5763, allocations: 7.938 kB / 482.2 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5763, allocations: 4 kB / 482.2 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5782, allocations: 0.9492 MB / 483.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.5783, allocations: 100.9 kB / 483.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.5784, allocations: 11.92 kB / 483.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.5792, allocations: 43.84 kB / 483.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.5792, allocations: 11.98 kB / 483.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.5793, allocations: 27.97 kB / 483.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.5794, allocations: 95.27 kB / 483.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5794, allocations: 0 / 483.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.5802, allocations: 187.8 kB / 483.6 MB, free: 14.94 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 (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.0008064/0.5811, allocations: 287.6 kB / 483.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.5824, allocations: 0.6603 MB / 484.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.5825, allocations: 4.25 kB / 484.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.5831, allocations: 331.7 kB / 484.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.5839, allocations: 92.61 kB / 485 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.5857, allocations: 1.159 MB / 486.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.586, allocations: 0.7368 MB / 486.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.5865, allocations: 51.39 kB / 486.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5865, allocations: 0 / 486.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01413/0.6006, allocations: 10.03 MB / 496.9 MB, free: 1.445 MB / 382.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++ 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 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