Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, 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.001113/0.001113, allocations: 173.8 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.58/1.58, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3527/0.3527, allocations: 15.27 MB / 307 MB, free: 15.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003863, allocations: 8 kB / 372.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4365, allocations: 54.62 MB / 426.7 MB, free: 40.16 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_Get_DfG): time 0.003615/0.4401, allocations: 3.125 MB / 429.8 MB, free: 39.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.446, allocations: 5.803 MB / 435.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.4465, allocations: 14.25 kB / 435.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.447, allocations: 148.7 kB / 435.8 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.4476, allocations: 255.9 kB / 436.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.4499, allocations: 0.7913 MB / 436.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.4504, allocations: 479.5 kB / 437.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.4507, allocations: 178.4 kB / 437.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.4509, allocations: 179.2 kB / 437.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.4512, allocations: 241 kB / 437.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.4513, allocations: 19.91 kB / 437.9 MB, free: 35.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.4527, allocations: 0.5254 MB / 438.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4528, allocations: 75.53 kB / 438.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.4529, allocations: 95.52 kB / 438.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.4537, allocations: 0.786 MB / 439.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4537, allocations: 0 / 439.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4537, allocations: 0 / 439.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4537, allocations: 0 / 439.4 MB, free: 35.19 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009594/0.4547, allocations: 0.7045 MB / 440.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4547, allocations: 9.562 kB / 440.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.4552, allocations: 113.7 kB / 440.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.4556, allocations: 356.1 kB / 440.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4557, allocations: 20.53 kB / 440.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.4557, allocations: 23.5 kB / 440.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.4563, allocations: 445.6 kB / 441 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4563, allocations: 3.938 kB / 441 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.4564, allocations: 15.22 kB / 441.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4564, allocations: 6.438 kB / 441.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.4571, allocations: 0.5827 MB / 441.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.459, allocations: 1.747 MB / 443.4 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.4592, allocations: 140.5 kB / 443.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4594, allocations: 80.77 kB / 443.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/0.4611, allocations: 1.826 MB / 445.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4611, allocations: 34.56 kB / 445.5 MB, free: 30.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4611, allocations: 0 / 445.5 MB, free: 30.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003773/0.4615, allocations: 190.8 kB / 445.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4615, allocations: 55.41 kB / 445.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.4619, allocations: 434.4 kB / 446.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.462, allocations: 25.7 kB / 446.2 MB, free: 30.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.4621, allocations: 264.3 kB / 446.4 MB, free: 30.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4622, allocations: 34 kB / 446.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.4622, allocations: 11.09 kB / 446.5 MB, free: 30.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.4623, allocations: 349.8 kB / 446.8 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4624, allocations: 69.17 kB / 446.9 MB, free: 29.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4626, allocations: 285.2 kB / 447.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4628, allocations: 116.3 kB / 447.3 MB, free: 29.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4628, allocations: 7.203 kB / 447.3 MB, free: 29.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004943/0.4633, allocations: 388.5 kB / 447.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4633, allocations: 6.344 kB / 447.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4633, allocations: 10.59 kB / 447.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4633, allocations: 9.531 kB / 447.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.4636, allocations: 98.31 kB / 447.8 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.4636, allocations: 13.25 kB / 447.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4638, allocations: 44.12 kB / 447.8 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.4639, allocations: 29.12 kB / 447.9 MB, free: 29.27 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 (38): * Single equations (assignments): 38 * 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.0001359/0.464, allocations: 166.2 kB / 448 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.4641, allocations: 41.86 kB / 448.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.4645, allocations: 234 kB / 448.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4645, allocations: 3.328 kB / 448.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4645, allocations: 0 / 448.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4646, allocations: 0 / 448.3 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.465, allocations: 0.5358 MB / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.465, allocations: 4.062 kB / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.465, allocations: 2.906 kB / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.465, allocations: 0 / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.465, allocations: 3.281 kB / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.465, allocations: 0 / 448.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.465, allocations: 4 kB / 448.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.854e-05/0.4652, allocations: 111.7 kB / 449 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.4652, allocations: 123.3 kB / 449.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.4653, allocations: 8.406 kB / 449.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.4654, allocations: 0 / 449.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.4654, allocations: 6.453 kB / 449.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.4654, allocations: 0 / 449.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.4657, allocations: 337.7 kB / 449.4 MB, free: 28.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4657, allocations: 0 / 449.4 MB, free: 28.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000575/0.4663, allocations: 173.5 kB / 449.6 MB, free: 28.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004491/0.4668, allocations: 296.4 kB / 449.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.467, allocations: 159.9 kB / 450 MB, free: 27.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.467, allocations: 0 / 450 MB, free: 27.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.4671, allocations: 10.28 kB / 450 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.4676, allocations: 90.33 kB / 450.1 MB, free: 27.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.4684, allocations: 0.6745 MB / 450.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.4686, allocations: 0.7841 MB / 451.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4687, allocations: 65.97 kB / 451.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4687, allocations: 0 / 451.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of Templates: time 0.009093/0.4778, allocations: 6.052 MB / 457.7 MB, free: 25.96 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.SimpleReaction2_Get_DfGCalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfGCalcHelperMain.o] Error 1