Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 101.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 180.1 kB / 16.59 MB, free: 6.125 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.566/1.566, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3065/0.3065, allocations: 15.27 MB / 307 MB, free: 15.75 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 372.1 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4321, allocations: 54.62 MB / 426.7 MB, free: 39.99 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.006025/0.4382, allocations: 4.998 MB / 431.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.4507, allocations: 10.59 MB / 442.3 MB, free: 31.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.4518, allocations: 19.62 kB / 442.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.4525, allocations: 228.9 kB / 442.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.4553, allocations: 0.8405 MB / 443.4 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.4597, allocations: 1.217 MB / 444.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.4617, allocations: 1.151 MB / 445.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.4625, allocations: 0.539 MB / 446.3 MB, free: 29.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006532/0.4632, allocations: 479.8 kB / 446.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.464, allocations: 0.5972 MB / 447.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.4641, allocations: 54.91 kB / 447.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.4691, allocations: 1.156 MB / 448.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.4694, allocations: 201.9 kB / 448.8 MB, free: 28.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.4697, allocations: 201.5 kB / 449 MB, free: 28.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003514/0.4732, allocations: 1.849 MB / 450.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.4733, allocations: 7.938 kB / 450.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.4733, allocations: 0 / 450.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.4733, allocations: 0 / 450.8 MB, free: 28.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002938/0.4762, allocations: 1.272 MB / 452.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.4763, allocations: 8.188 kB / 452.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.4772, allocations: 214.5 kB / 452.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.4781, allocations: 0.5226 MB / 452.8 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.4782, allocations: 91.55 kB / 452.9 MB, free: 26.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.4784, allocations: 96.44 kB / 453 MB, free: 26.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.4802, allocations: 1.038 MB / 454.1 MB, free: 26.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4802, allocations: 0 / 454.1 MB, free: 26.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.4803, allocations: 34.47 kB / 454.1 MB, free: 26.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.4803, allocations: 26.89 kB / 454.1 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.4823, allocations: 1.268 MB / 455.4 MB, free: 25.94 MB / 350.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.005143/0.4875, allocations: 3.451 MB / 458.8 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.4901, allocations: 1.52 MB / 460.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.491, allocations: 433.1 kB / 460.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005551/0.4966, allocations: 3.958 MB / 464.7 MB, free: 19.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.4966, allocations: 38.19 kB / 464.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 3.336e-06/0.4966, allocations: 4 kB / 464.8 MB, free: 19.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004075/0.5007, allocations: 1.662 MB / 466.4 MB, free: 18.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.5008, allocations: 59.19 kB / 466.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.5017, allocations: 0.5064 MB / 467 MB, free: 18.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.5017, allocations: 36.55 kB / 467 MB, free: 18.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.5021, allocations: 460.9 kB / 467.5 MB, free: 18.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.5023, allocations: 220.9 kB / 467.7 MB, free: 17.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.5024, allocations: 19.31 kB / 467.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5025, allocations: 376 kB / 468.1 MB, free: 17.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.503, allocations: 207.9 kB / 468.3 MB, free: 17.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.5037, allocations: 0.5354 MB / 468.8 MB, free: 16.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.5042, allocations: 290.8 kB / 469.1 MB, free: 16.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.5043, allocations: 2.812 kB / 469.1 MB, free: 16.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001568/0.5058, allocations: 0.8383 MB / 470 MB, free: 16.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5059, allocations: 17.61 kB / 470 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.5059, allocations: 11.61 kB / 470 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/0.506, allocations: 20.44 kB / 470 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.507, allocations: 266.3 kB / 470.3 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.882e-05/0.5071, allocations: 22.16 kB / 470.3 MB, free: 16.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.5077, allocations: 58.67 kB / 470.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.5078, allocations: 50.27 kB / 470.4 MB, free: 16.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0003591/0.5082, allocations: 229.2 kB / 470.6 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5083, allocations: 66.03 kB / 470.7 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5099, allocations: 0.6942 MB / 471.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5099, allocations: 7.375 kB / 471.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5099, allocations: 0 / 471.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.5099, allocations: 4.406 kB / 471.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.5114, allocations: 0.7721 MB / 472.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5115, allocations: 1.406 kB / 472.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.5123, allocations: 171 kB / 472.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.5123, allocations: 8.312 kB / 472.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.5124, allocations: 29.05 kB / 472.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.5124, allocations: 7.062 kB / 472.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5124, allocations: 2.266 kB / 472.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.5142, allocations: 0.9405 MB / 473.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.5145, allocations: 180.7 kB / 473.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.5146, allocations: 18.09 kB / 473.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.5149, allocations: 29.05 kB / 473.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5151, allocations: 54.56 kB / 473.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.5152, allocations: 29.8 kB / 473.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005723/0.5158, allocations: 341.1 kB / 474 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5158, allocations: 0 / 474 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001986/0.5178, allocations: 464.4 kB / 474.4 MB, free: 14.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.logn) * 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 (71): * Single equations (assignments): 71 * 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.001425/0.5192, allocations: 0.5698 MB / 475 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.5207, allocations: 0.5932 MB / 475.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5207, allocations: 0 / 475.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.5213, allocations: 290.7 kB / 475.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.5223, allocations: 145.4 kB / 476 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.5259, allocations: 1.913 MB / 477.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.5267, allocations: 0.95 MB / 478.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.5271, allocations: 133.5 kB / 479 MB, free: 11.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5271, allocations: 0 / 479 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Templates: time 0.02836/0.5555, allocations: 12.15 MB / 491.1 MB, free: 4.469 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.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 OMCppChemical_Chemical.Examples.SimpleReaction2CalcHelperMain.o OMCppChemical_Chemical.Examples.SimpleReaction2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.SimpleReaction2CalcHelperMain.o] Error 1