Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009328, allocations: 100.5 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.001602/0.001602, allocations: 175.3 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.589/1.589, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3521/0.3521, allocations: 15.27 MB / 307 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.000496, allocations: 11.94 kB / 372.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4545, allocations: 54.62 MB / 426.7 MB, free: 40.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003303/0.4579, allocations: 2.94 MB / 429.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.4635, allocations: 5.785 MB / 435.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.4637, allocations: 14.25 kB / 435.5 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.4641, allocations: 146.2 kB / 435.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.4646, allocations: 257 kB / 435.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.4661, allocations: 0.7888 MB / 436.6 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.4666, allocations: 462.1 kB / 437.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.4669, allocations: 130.8 kB / 437.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.4671, allocations: 179.1 kB / 437.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.4674, allocations: 223.5 kB / 437.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.4675, allocations: 17.06 kB / 437.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.4685, allocations: 0.5247 MB / 438.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.4686, allocations: 68.52 kB / 438.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.4687, allocations: 84.55 kB / 438.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.4694, allocations: 0.7587 MB / 439.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4694, allocations: 0 / 439.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4694, allocations: 0 / 439.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4695, allocations: 0 / 439.1 MB, free: 35.59 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008383/0.4703, allocations: 0.6725 MB / 439.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4704, allocations: 9.344 kB / 439.7 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.4708, allocations: 111.3 kB / 439.9 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.4712, allocations: 345.5 kB / 440.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.4713, allocations: 11.06 kB / 440.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.4713, allocations: 21.25 kB / 440.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.4718, allocations: 385 kB / 440.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4719, allocations: 3.125 kB / 440.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.4719, allocations: 4 kB / 440.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4719, allocations: 5.906 kB / 440.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007273/0.4726, allocations: 0.5486 MB / 441.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4741, allocations: 1.379 MB / 442.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.4744, allocations: 171.5 kB / 442.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4746, allocations: 94.31 kB / 442.8 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.4763, allocations: 1.87 MB / 444.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4763, allocations: 33.84 kB / 444.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.4763, allocations: 0 / 444.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004562/0.4768, allocations: 215.7 kB / 444.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.4768, allocations: 54.53 kB / 445 MB, free: 31.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.4772, allocations: 370.3 kB / 445.3 MB, free: 31.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4773, allocations: 28.52 kB / 445.4 MB, free: 31.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4774, allocations: 220.5 kB / 445.6 MB, free: 31.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.4775, allocations: 56.66 kB / 445.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.4775, allocations: 4 kB / 445.6 MB, free: 31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4776, allocations: 350.2 kB / 446 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4777, allocations: 62.22 kB / 446 MB, free: 30.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.4779, allocations: 238.7 kB / 446.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4781, allocations: 100.2 kB / 446.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4781, allocations: 3 kB / 446.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000486/0.4786, allocations: 345.4 kB / 446.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4786, allocations: 6.656 kB / 446.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4786, allocations: 10.38 kB / 446.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4787, allocations: 13.47 kB / 446.7 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4789, allocations: 78.42 kB / 446.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.4789, allocations: 13.91 kB / 446.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4791, allocations: 36.5 kB / 446.9 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.4792, allocations: 26.83 kB / 446.9 MB, free: 30.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001611/0.4793, allocations: 157.1 kB / 447 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4794, allocations: 34.59 kB / 447.1 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4799, allocations: 293.1 kB / 447.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4799, allocations: 0 / 447.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.48, allocations: 3.125 kB / 447.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.48, allocations: 0 / 447.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.4805, allocations: 0.6255 MB / 448 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4806, allocations: 3.344 kB / 448 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.4806, allocations: 17.06 kB / 448 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4806, allocations: 0 / 448 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4806, allocations: 3.281 kB / 448 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4807, allocations: 7.109 kB / 448 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4807, allocations: 4.188 kB / 448 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4808, allocations: 164.4 kB / 448.2 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.481, allocations: 137.9 kB / 448.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.481, allocations: 4 kB / 448.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.4811, allocations: 6.031 kB / 448.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4811, allocations: 7.047 kB / 448.3 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4811, allocations: 3.375 kB / 448.3 MB, free: 29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.4814, allocations: 302.6 kB / 448.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4814, allocations: 0 / 448.6 MB, free: 28.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004981/0.4819, allocations: 168.2 kB / 448.8 MB, free: 28.8 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.000524/0.4825, allocations: 304 kB / 449.1 MB, free: 28.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4827, allocations: 156 kB / 449.2 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4828, allocations: 0 / 449.2 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.4828, allocations: 34.69 kB / 449.3 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.4833, allocations: 88.8 kB / 449.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.4842, allocations: 0.6742 MB / 450 MB, free: 28.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4845, allocations: 0.7723 MB / 450.8 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4846, allocations: 66.94 kB / 450.9 MB, free: 27.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4846, allocations: 0 / 450.9 MB, free: 27.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009966/0.4946, allocations: 5.653 MB / 456.5 MB, free: 26.73 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReactionCalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReactionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReactionCalcHelperMain.o] Error 1