Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.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.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.000856, allocations: 103 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.001111/0.001112, allocations: 175.7 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.578/1.578, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3484/0.3484, allocations: 15.26 MB / 307 MB, free: 15.81 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 8 kB / 372.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4003, allocations: 54.62 MB / 426.7 MB, free: 40.17 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.AcidBase.AcidBaseBufferTest): time 0.005343/0.4056, allocations: 4.664 MB / 431.4 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009405/0.4151, allocations: 9.267 MB / 440.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009371/0.416, allocations: 17.59 kB / 440.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.4167, allocations: 219 kB / 440.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.4184, allocations: 0.5448 MB / 441.4 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.4222, allocations: 1.168 MB / 442.6 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.4235, allocations: 0.8674 MB / 443.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005583/0.4241, allocations: 406.8 kB / 443.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.4245, allocations: 345.5 kB / 444.2 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.425, allocations: 414.5 kB / 444.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.4251, allocations: 48.06 kB / 444.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.4288, allocations: 0.9582 MB / 445.6 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.429, allocations: 149.3 kB / 445.8 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.4292, allocations: 163.1 kB / 445.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.4312, allocations: 1.482 MB / 447.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4313, allocations: 3.406 kB / 447.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4313, allocations: 0 / 447.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.4313, allocations: 0 / 447.4 MB, free: 30.24 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.001688/0.433, allocations: 1.062 MB / 448.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.433, allocations: 9.25 kB / 448.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.4337, allocations: 215.1 kB / 448.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.4342, allocations: 454.2 kB / 449.1 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.4343, allocations: 52.97 kB / 449.2 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/0.4344, allocations: 63.69 kB / 449.2 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4357, allocations: 1.091 MB / 450.3 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4357, allocations: 0 / 450.3 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.4358, allocations: 25.84 kB / 450.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.4358, allocations: 16.72 kB / 450.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.4374, allocations: 1.503 MB / 451.9 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.4412, allocations: 3.031 MB / 454.9 MB, free: 26.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4424, allocations: 0.9806 MB / 455.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.4429, allocations: 383.2 kB / 456.3 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002872/0.4458, allocations: 2.431 MB / 458.7 MB, free: 24.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.4458, allocations: 41.41 kB / 458.7 MB, free: 24.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.4458, allocations: 0 / 458.7 MB, free: 24.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=68): time 0.01407/0.4599, allocations: 3.527 MB / 462.3 MB, free: 22.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4599, allocations: 63.94 kB / 462.3 MB, free: 22.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.4609, allocations: 0.691 MB / 463 MB, free: 22.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.461, allocations: 37.77 kB / 463 MB, free: 22.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.4612, allocations: 343.2 kB / 463.4 MB, free: 21.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.4614, allocations: 238.6 kB / 463.6 MB, free: 21.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.4615, allocations: 14.88 kB / 463.6 MB, free: 21.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4616, allocations: 371.6 kB / 464 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.4623, allocations: 439.5 kB / 464.4 MB, free: 21.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.463, allocations: 0.5903 MB / 465 MB, free: 20.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.4638, allocations: 495 kB / 465.5 MB, free: 20.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4639, allocations: 2.062 kB / 465.5 MB, free: 20.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003922/0.4678, allocations: 1.414 MB / 466.9 MB, free: 19.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4678, allocations: 7.953 kB / 466.9 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.4679, allocations: 5.5 kB / 466.9 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.4699, allocations: 278.2 kB / 467.2 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.4707, allocations: 197.4 kB / 467.4 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.4753, allocations: 3.757 MB / 471.1 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.4761, allocations: 39.58 kB / 471.2 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.4762, allocations: 43.09 kB / 471.2 MB, free: 16.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 91 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000346/0.4766, allocations: 203.8 kB / 471.4 MB, free: 16.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4767, allocations: 62.77 kB / 471.5 MB, free: 16.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.4803, allocations: 1.204 MB / 472.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4804, allocations: 7.828 kB / 472.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4804, allocations: 1.188 kB / 472.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4804, allocations: 3.516 kB / 472.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.4852, allocations: 2.164 MB / 474.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.4853, allocations: 2.812 kB / 474.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.4858, allocations: 139.6 kB / 475 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.4878, allocations: 281.8 kB / 475.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.4879, allocations: 20.31 kB / 475.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.4921, allocations: 3.699 MB / 479 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4922, allocations: 2.75 kB / 479 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.4964, allocations: 1.659 MB / 480.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.4968, allocations: 199.1 kB / 480.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.4969, allocations: 17.31 kB / 480.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.4973, allocations: 25 kB / 480.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4975, allocations: 62.17 kB / 481 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.4976, allocations: 26.08 kB / 481 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000595/0.4982, allocations: 0.5119 MB / 481.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4982, allocations: 0 / 481.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001552/0.4998, allocations: 430.2 kB / 481.9 MB, free: 9.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009463/0.5007, allocations: 0.517 MB / 482.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.5027, allocations: 1.186 MB / 483.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5027, allocations: 8 kB / 483.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.5036, allocations: 0.6696 MB / 484.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009062/0.5045, allocations: 144.7 kB / 484.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.5071, allocations: 1.922 MB / 486.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.5075, allocations: 0.9168 MB / 487.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.5079, allocations: 107 kB / 487.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5079, allocations: 0 / 487.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Templates: time 0.0269/0.5348, allocations: 21.25 MB / 0.4967 GB, free: 2.758 MB / 366.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.makefile make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.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.AcidBase.AcidBaseBufferTestCalcHelperMain.o OMCppChemical_Chemical.Examples.AcidBase.AcidBaseBufferTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.AcidBase.AcidBaseBufferTestCalcHelperMain.o] Error 1