Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.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.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.89 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.00117/0.00117, allocations: 180 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.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3117/0.3117, allocations: 15.27 MB / 307 MB, free: 15.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004346, allocations: 8 kB / 372.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4688, allocations: 54.63 MB / 426.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInWater): time 0.0096/0.4785, allocations: 7.567 MB / 434.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.5038, allocations: 21.27 MB / 455.6 MB, free: 22.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.5062, allocations: 34.69 kB / 455.6 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.5076, allocations: 433.8 kB / 456 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.5139, allocations: 1.708 MB / 457.7 MB, free: 21.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009148/0.523, allocations: 2.377 MB / 460.1 MB, free: 19.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.5261, allocations: 1.941 MB / 462 MB, free: 18.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.5277, allocations: 0.9988 MB / 463 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.5292, allocations: 0.8671 MB / 463.9 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.531, allocations: 1.089 MB / 465 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.5312, allocations: 103 kB / 465.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.5433, allocations: 2.294 MB / 467.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009568/0.5443, allocations: 377 kB / 467.8 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.5454, allocations: 317 kB / 468.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007771/0.5532, allocations: 3.483 MB / 471.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.5532, allocations: 0 / 471.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5532, allocations: 5.25 kB / 471.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.5533, allocations: 0 / 471.6 MB, free: 15.63 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.006153/0.5594, allocations: 2.001 MB / 473.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.5595, allocations: 11 kB / 473.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.5618, allocations: 399.1 kB / 474 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.5638, allocations: 0.813 MB / 474.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.564, allocations: 166.7 kB / 474.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.5643, allocations: 148.6 kB / 475.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004418/0.5687, allocations: 2.022 MB / 477.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.5687, allocations: 0 / 477.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.5689, allocations: 55.53 kB / 477.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.569, allocations: 38.98 kB / 477.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00547/0.5744, allocations: 2.687 MB / 479.9 MB, free: 11.95 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.01431/0.5888, allocations: 6.439 MB / 486.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.5954, allocations: 3.297 MB / 489.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.5969, allocations: 0.8819 MB / 490.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.6076, allocations: 7.08 MB / 497.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.6077, allocations: 47.56 kB / 497.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001189/0.6089, allocations: 158.7 kB / 497.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=117): time 5.491e-06/0.6089, allocations: 0 / 497.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.0219/0.6308, allocations: 5.44 MB / 0.4914 GB, free: 8.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.6309, allocations: 68.67 kB / 0.4915 GB, free: 8.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.6325, allocations: 1.026 MB / 0.4925 GB, free: 7.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.6327, allocations: 45.7 kB / 0.4925 GB, free: 7.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/0.6333, allocations: 0.6816 MB / 0.4932 GB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000615/0.6339, allocations: 481 kB / 0.4937 GB, free: 6.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.634, allocations: 36 kB / 0.4937 GB, free: 6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.6343, allocations: 369.9 kB / 0.494 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.6354, allocations: 0.6403 MB / 0.4947 GB, free: 4.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.6369, allocations: 1.107 MB / 0.4957 GB, free: 3.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.6383, allocations: 0.7833 MB / 0.4965 GB, free: 2.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.6383, allocations: 4 kB / 0.4965 GB, free: 2.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006734/0.6451, allocations: 2.411 MB / 0.4989 GB, free: 488 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.6451, allocations: 8 kB / 0.4989 GB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.6452, allocations: 16 kB / 0.4989 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.6479, allocations: 0.502 MB / 0.4994 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.6495, allocations: 415.4 kB / 0.4998 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.6554, allocations: 3.511 MB / 0.5032 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.6573, allocations: 87.88 kB / 0.5033 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.6576, allocations: 95.95 kB / 0.5034 GB, free: 11.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * 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.0009667/0.6586, allocations: 333.3 kB / 0.5037 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/0.659, allocations: 122.5 kB / 0.5038 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007249/0.6662, allocations: 2.141 MB / 0.5059 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.6663, allocations: 16 kB / 0.5059 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.6663, allocations: 4 kB / 0.5059 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.6664, allocations: 7.969 kB / 0.5059 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.6787, allocations: 3.535 MB / 0.5094 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.6787, allocations: 3.953 kB / 0.5094 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.6803, allocations: 275.7 kB / 0.5097 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/0.6838, allocations: 482.1 kB / 0.5101 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6841, allocations: 47.97 kB / 0.5102 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/0.6913, allocations: 3.422 MB / 0.5135 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6913, allocations: 0 / 0.5135 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.7019, allocations: 2.739 MB / 0.5162 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.703, allocations: 191.5 kB / 0.5164 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006718/0.7037, allocations: 31.94 kB / 0.5164 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.7055, allocations: 64.05 kB / 0.5165 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008566/0.7064, allocations: 129 kB / 0.5166 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/0.7067, allocations: 55.95 kB / 0.5166 GB, free: 13.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.7085, allocations: 0.703 MB / 0.5173 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7086, allocations: 0 / 0.5173 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005517/0.7141, allocations: 0.9173 MB / 0.5182 GB, free: 11.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * 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.004146/0.7183, allocations: 1.065 MB / 0.5192 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005703/0.724, allocations: 2.004 MB / 0.5212 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.724, allocations: 0 / 0.5212 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.727, allocations: 1.139 MB / 0.5223 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.7298, allocations: 242.4 kB / 0.5226 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.739, allocations: 3.303 MB / 0.5258 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.7404, allocations: 1.183 MB / 0.5269 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/0.7413, allocations: 267.2 kB / 0.5272 GB, free: 2.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.705e-06/0.7414, allocations: 0 / 0.5272 GB, free: 2.602 MB / 398.1 MB Notification: Performance of Templates: time 0.07168/0.813, allocations: 42.51 MB / 0.5687 GB, free: 8.141 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.makefile make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater.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.CarbonDioxideInWaterCalcHelperMain.o OMCppChemical_Chemical.Examples.AcidBase.CarbonDioxideInWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.AcidBase.CarbonDioxideInWaterCalcHelperMain.o] Error 1