Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.EnzymeKinetics.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.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") translateModel(Chemical.Examples.EnzymeKinetics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.EnzymeKinetics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 102.6 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.001252/0.001253, allocations: 174.9 kB / 16.58 MB, free: 6.402 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.536/1.536, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3405/0.3405, allocations: 15.26 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.0003338/0.0003338, allocations: 8 kB / 372.1 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4329, allocations: 54.62 MB / 426.7 MB, free: 40.26 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.EnzymeKinetics): time 0.008188/0.4412, allocations: 6.853 MB / 433.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.4606, allocations: 17.74 MB / 451.3 MB, free: 25.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.4627, allocations: 28.5 kB / 451.3 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.464, allocations: 377.4 kB / 451.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.4698, allocations: 1.397 MB / 453.1 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007589/0.4774, allocations: 2.017 MB / 455.1 MB, free: 23.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003068/0.4805, allocations: 1.822 MB / 456.9 MB, free: 22.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.4817, allocations: 0.8933 MB / 457.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.4828, allocations: 0.768 MB / 458.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.484, allocations: 0.9978 MB / 459.6 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.4842, allocations: 92.62 kB / 459.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007784/0.492, allocations: 1.951 MB / 461.6 MB, free: 21.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.4925, allocations: 338.5 kB / 462 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.4932, allocations: 298.2 kB / 462.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.4993, allocations: 3.039 MB / 465.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.4993, allocations: 5.922 kB / 465.3 MB, free: 19.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4993, allocations: 3.938 kB / 465.3 MB, free: 19.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.4994, allocations: 0 / 465.3 MB, free: 19.61 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004879/0.5042, allocations: 1.831 MB / 467.1 MB, free: 18.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5043, allocations: 10 kB / 467.1 MB, free: 18.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.5058, allocations: 333 kB / 467.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5072, allocations: 0.7398 MB / 468.2 MB, free: 17.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.5074, allocations: 161.5 kB / 468.4 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.5077, allocations: 140.7 kB / 468.5 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.5111, allocations: 1.691 MB / 470.2 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5112, allocations: 1.031 kB / 470.2 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.5113, allocations: 56.14 kB / 470.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.5114, allocations: 32.59 kB / 470.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.5156, allocations: 2.182 MB / 472.5 MB, free: 16.39 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.009873/0.5255, allocations: 5.456 MB / 477.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.5312, allocations: 3.205 MB / 481.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.5326, allocations: 0.8165 MB / 481.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009792/0.5424, allocations: 6.855 MB / 488.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5425, allocations: 48 kB / 488.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007335/0.5432, allocations: 130.1 kB / 489 MB, free: 5.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.737e-06/0.5432, allocations: 0 / 489 MB, free: 5.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01607/0.5593, allocations: 4.523 MB / 493.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.5594, allocations: 64.41 kB / 493.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.5603, allocations: 0.7197 MB / 494.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/0.5604, allocations: 45.7 kB / 494.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.5607, allocations: 0.6461 MB / 495 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5609, allocations: 414.1 kB / 495.4 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.561, allocations: 28 kB / 495.4 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003474/0.5614, allocations: 422.6 kB / 495.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.5622, allocations: 475.7 kB / 496.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.5635, allocations: 0.9801 MB / 497.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5647, allocations: 0.6003 MB / 497.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5647, allocations: 4 kB / 497.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005937/0.5707, allocations: 1.994 MB / 499.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.5707, allocations: 12 kB / 499.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.5708, allocations: 16.88 kB / 499.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/0.5734, allocations: 466 kB / 0.4886 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.5747, allocations: 367.4 kB / 0.489 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/0.5809, allocations: 3.518 MB / 0.4924 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.5833, allocations: 87.92 kB / 0.4925 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.5836, allocations: 91.97 kB / 0.4926 GB, free: 6.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00103/0.5846, allocations: 313.3 kB / 0.4929 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.585, allocations: 106.6 kB / 0.493 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/0.5938, allocations: 1.815 MB / 0.4947 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/0.5939, allocations: 15.94 kB / 0.4948 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.594, allocations: 4 kB / 0.4948 GB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-05/0.594, allocations: 7.984 kB / 0.4948 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.5982, allocations: 1.338 MB / 0.4961 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5982, allocations: 0 / 0.4961 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.5998, allocations: 231.7 kB / 0.4963 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.6035, allocations: 438.1 kB / 0.4967 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.6037, allocations: 47.97 kB / 0.4968 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/0.6109, allocations: 3.422 MB / 0.5001 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.6109, allocations: 4.031 kB / 0.5001 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007133/0.6181, allocations: 2.352 MB / 0.5024 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.6191, allocations: 283.6 kB / 0.5027 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.6193, allocations: 24 kB / 0.5027 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.62, allocations: 43.89 kB / 0.5027 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.6203, allocations: 108.8 kB / 0.5028 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.6205, allocations: 51.97 kB / 0.5029 GB, free: 11.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008946/0.6214, allocations: 475 kB / 0.5033 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6214, allocations: 4 kB / 0.5034 GB, free: 11.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003369/0.6248, allocations: 0.8041 MB / 0.5041 GB, free: 10.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (solution.temperature,P.logn,S.logn,ES.logn,E.logn,liquidWater.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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/0.627, allocations: 0.8844 MB / 0.505 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.6302, allocations: 1.662 MB / 0.5066 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6302, allocations: 0 / 0.5066 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6318, allocations: 0.9928 MB / 0.5076 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6332, allocations: 233.9 kB / 0.5078 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.6381, allocations: 2.992 MB / 0.5107 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.6389, allocations: 1.125 MB / 0.5118 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007075/0.6396, allocations: 231.3 kB / 0.5121 GB, free: 1.941 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6396, allocations: 0 / 0.5121 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Templates: time 0.05/0.6896, allocations: 36.39 MB / 0.5476 GB, free: 13.58 MB / 430.1 MB make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.makefile make -j1 -f Chemical_Chemical.Examples.EnzymeKinetics.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.EnzymeKineticsCalcHelperMain.o OMCppChemical_Chemical.Examples.EnzymeKineticsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.EnzymeKineticsCalcHelperMain.o] Error 1