Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 99.59 kB / 15.71 MB, free: 452 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.001353/0.001353, allocations: 173.8 kB / 16.58 MB, free: 6.422 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.56/1.56, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3401/0.3401, allocations: 15.27 MB / 307 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 372.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4354, allocations: 54.61 MB / 426.7 MB, free: 40.28 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.CheckSubstancesData.SimpleReaction2): time 0.004201/0.4397, allocations: 3.569 MB / 430.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.4505, allocations: 8.43 MB / 438.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.4515, allocations: 18.53 kB / 438.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.4522, allocations: 204.5 kB / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.4533, allocations: 358.8 kB / 439.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.4573, allocations: 1.16 MB / 440.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009825/0.4583, allocations: 0.6255 MB / 441.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.4588, allocations: 197.3 kB / 441.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.4594, allocations: 239 kB / 441.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.4601, allocations: 320.1 kB / 441.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.4601, allocations: 19.09 kB / 441.8 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.4631, allocations: 0.788 MB / 442.6 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.4633, allocations: 104 kB / 442.7 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.4635, allocations: 110.9 kB / 442.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.465, allocations: 1.114 MB / 443.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.465, allocations: 0 / 443.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4651, allocations: 0 / 443.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4651, allocations: 0 / 443.9 MB, free: 32.46 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001243/0.4663, allocations: 0.826 MB / 444.8 MB, free: 31.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.4664, allocations: 9.781 kB / 444.8 MB, free: 31.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/0.4671, allocations: 160.2 kB / 444.9 MB, free: 31.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4676, allocations: 407.1 kB / 445.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.4677, allocations: 24.84 kB / 445.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.4678, allocations: 27.72 kB / 445.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.4686, allocations: 0.5365 MB / 445.9 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4686, allocations: 0 / 445.9 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.4687, allocations: 14.44 kB / 445.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4687, allocations: 6.562 kB / 445.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.4698, allocations: 0.8004 MB / 446.7 MB, free: 30.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.4722, allocations: 1.859 MB / 448.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.4727, allocations: 212.7 kB / 448.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.4729, allocations: 133.7 kB / 448.9 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/0.4758, allocations: 2.642 MB / 451.6 MB, free: 27.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.4758, allocations: 41.92 kB / 451.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.4759, allocations: 0 / 451.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005744/0.4764, allocations: 284.8 kB / 451.9 MB, free: 27.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.4765, allocations: 58.22 kB / 451.9 MB, free: 27.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.477, allocations: 476.6 kB / 452.4 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.477, allocations: 25.7 kB / 452.4 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4772, allocations: 299.2 kB / 452.7 MB, free: 26.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.4773, allocations: 60.27 kB / 452.8 MB, free: 26.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.4773, allocations: 11.25 kB / 452.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4774, allocations: 358.4 kB / 453.1 MB, free: 26.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.4776, allocations: 87.7 kB / 453.2 MB, free: 26.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.4779, allocations: 358.2 kB / 453.6 MB, free: 25.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4781, allocations: 153.1 kB / 453.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4781, allocations: 7.25 kB / 453.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006708/0.4788, allocations: 476.9 kB / 454.2 MB, free: 25.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4789, allocations: 10.03 kB / 454.2 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4789, allocations: 15.61 kB / 454.2 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.4789, allocations: 15.62 kB / 454.2 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.4792, allocations: 114.9 kB / 454.4 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.4793, allocations: 18.8 kB / 454.4 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.4796, allocations: 56 kB / 454.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4796, allocations: 31.5 kB / 454.5 MB, free: 25.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001791/0.4798, allocations: 183.9 kB / 454.6 MB, free: 25.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.4799, allocations: 45.31 kB / 454.7 MB, free: 25.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.4806, allocations: 404.7 kB / 455.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4806, allocations: 0 / 455.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4806, allocations: 7.172 kB / 455.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4807, allocations: 0 / 455.1 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.4814, allocations: 0.7108 MB / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4814, allocations: 7.031 kB / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.4814, allocations: 16.12 kB / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4815, allocations: 3.031 kB / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4815, allocations: 0 / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4815, allocations: 3.062 kB / 455.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4815, allocations: 6.891 kB / 455.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.4817, allocations: 193.7 kB / 456 MB, free: 24.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4818, allocations: 149.6 kB / 456.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.4819, allocations: 2.906 kB / 456.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.482, allocations: 7 kB / 456.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.4821, allocations: 14.06 kB / 456.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4821, allocations: 3.031 kB / 456.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.4825, allocations: 382.4 kB / 456.6 MB, free: 23.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4825, allocations: 2.938 kB / 456.6 MB, free: 23.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008995/0.4834, allocations: 251.2 kB / 456.8 MB, free: 23.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0006405/0.484, allocations: 390.9 kB / 457.2 MB, free: 23.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.4844, allocations: 222.7 kB / 457.4 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.4844, allocations: 2.969 kB / 457.4 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.4845, allocations: 41.2 kB / 457.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.4851, allocations: 100.3 kB / 457.6 MB, free: 23.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4862, allocations: 0.8272 MB / 458.4 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4865, allocations: 0.8095 MB / 459.2 MB, free: 22.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.4867, allocations: 91.56 kB / 459.3 MB, free: 22.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4867, allocations: 0 / 459.3 MB, free: 22.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01845/0.5051, allocations: 7.783 MB / 467.1 MB, free: 21.38 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction2CalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2CalcHelperMain.o] Error 1