Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008939, allocations: 102.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.001118/0.001118, allocations: 177.3 kB / 16.58 MB, free: 6.863 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.556/1.556, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3427/0.3427, allocations: 15.26 MB / 307 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 8 kB / 372.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4527, allocations: 54.62 MB / 426.7 MB, free: 40.29 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.SimpleReaction): time 0.005091/0.4579, allocations: 4.132 MB / 430.8 MB, free: 40 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.4682, allocations: 7.279 MB / 438.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.4694, allocations: 14.16 kB / 438.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.4702, allocations: 164.2 kB / 438.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.4733, allocations: 0.5959 MB / 438.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.4776, allocations: 0.8291 MB / 439.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.4795, allocations: 0.8738 MB / 440.6 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/0.4802, allocations: 410 kB / 441 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.4808, allocations: 350.6 kB / 441.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/0.4815, allocations: 448.5 kB / 441.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/0.4816, allocations: 43.12 kB / 441.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.4856, allocations: 0.7651 MB / 442.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.4858, allocations: 155.1 kB / 442.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.4861, allocations: 160.1 kB / 442.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.488, allocations: 1.296 MB / 444.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.488, allocations: 0 / 444.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4881, allocations: 0 / 444.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.4881, allocations: 4 kB / 444.2 MB, free: 32.54 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001675/0.4898, allocations: 1.011 MB / 445.2 MB, free: 31.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4898, allocations: 6.375 kB / 445.2 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.4904, allocations: 155.7 kB / 445.4 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.491, allocations: 441.1 kB / 445.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.4911, allocations: 84.02 kB / 445.9 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4912, allocations: 76.19 kB / 445.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4923, allocations: 0.7683 MB / 446.7 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4924, allocations: 0 / 446.7 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.4924, allocations: 29.3 kB / 446.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.4925, allocations: 14.84 kB / 446.8 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.4937, allocations: 0.876 MB / 447.6 MB, free: 30.76 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.003398/0.4971, allocations: 2.579 MB / 450.2 MB, free: 29.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4985, allocations: 1.004 MB / 451.2 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.4989, allocations: 308.2 kB / 451.5 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003042/0.502, allocations: 2.776 MB / 454.3 MB, free: 26.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.502, allocations: 37.69 kB / 454.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.595e-06/0.502, allocations: 0 / 454.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002266/0.5043, allocations: 1.224 MB / 455.6 MB, free: 25.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.5043, allocations: 54.72 kB / 455.6 MB, free: 25.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.5048, allocations: 420.4 kB / 456 MB, free: 25.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.5048, allocations: 36.58 kB / 456.1 MB, free: 25.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.505, allocations: 370.1 kB / 456.4 MB, free: 24.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5051, allocations: 167.3 kB / 456.6 MB, free: 24.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.5052, allocations: 10.56 kB / 456.6 MB, free: 24.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5053, allocations: 364.6 kB / 456.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.5055, allocations: 142.2 kB / 457.1 MB, free: 24.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.5059, allocations: 392.4 kB / 457.5 MB, free: 23.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.5062, allocations: 199 kB / 457.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5062, allocations: 2.875 kB / 457.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008285/0.507, allocations: 0.6123 MB / 458.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.5071, allocations: 8.938 kB / 458.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5071, allocations: 11.41 kB / 458.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.5071, allocations: 12.47 kB / 458.3 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.5078, allocations: 208.5 kB / 458.5 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.5078, allocations: 16 kB / 458.5 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.5082, allocations: 40.28 kB / 458.6 MB, free: 23.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.5082, allocations: 38.84 kB / 458.6 MB, free: 23.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002433/0.5085, allocations: 205.5 kB / 458.8 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.699e-05/0.5085, allocations: 48.97 kB / 458.9 MB, free: 23.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009441/0.5095, allocations: 0.4909 MB / 459.3 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5095, allocations: 5.156 kB / 459.3 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5095, allocations: 1.062 kB / 459.4 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.5095, allocations: 3.047 kB / 459.4 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.5104, allocations: 0.6436 MB / 460 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.5104, allocations: 1.094 kB / 460 MB, free: 22.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.511, allocations: 136.3 kB / 460.1 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.511, allocations: 3.531 kB / 460.1 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.5111, allocations: 18.05 kB / 460.2 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5111, allocations: 3.531 kB / 460.2 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5111, allocations: 9.5 kB / 460.2 MB, free: 22.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5122, allocations: 0.7159 MB / 460.9 MB, free: 22.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.5124, allocations: 157.1 kB / 461 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.5124, allocations: 16.19 kB / 461 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.5127, allocations: 15.22 kB / 461.1 MB, free: 22.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.5128, allocations: 35.89 kB / 461.1 MB, free: 22.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.5128, allocations: 18.91 kB / 461.1 MB, free: 22.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.5131, allocations: 275.8 kB / 461.4 MB, free: 22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.5131, allocations: 0 / 461.4 MB, free: 22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001356/0.5145, allocations: 327.3 kB / 461.7 MB, free: 21.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0008557/0.5154, allocations: 424.3 kB / 462.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008341/0.5162, allocations: 435.6 kB / 462.5 MB, free: 21.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5162, allocations: 3.938 kB / 462.6 MB, free: 21.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.5166, allocations: 201 kB / 462.7 MB, free: 21.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.5173, allocations: 121.7 kB / 462.9 MB, free: 21.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.5197, allocations: 1.531 MB / 464.4 MB, free: 20.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.5202, allocations: 0.8915 MB / 465.3 MB, free: 19.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.5205, allocations: 89.45 kB / 465.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5205, allocations: 4 kB / 465.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of Templates: time 0.02187/0.5423, allocations: 8.914 MB / 474.3 MB, free: 18.37 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction.makefile make -j1 -f Chemical_Chemical.Examples.SimpleReaction.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.SimpleReactionCalcHelperMain.o OMCppChemical_Chemical.Examples.SimpleReactionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.SimpleReactionCalcHelperMain.o] Error 1