Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.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.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009704, allocations: 99.05 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.001451/0.001451, allocations: 179.2 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3203/0.3203, allocations: 15.26 MB / 307 MB, free: 15.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 11.98 kB / 372.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4364, allocations: 54.61 MB / 426.7 MB, free: 39.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.008934/0.4454, allocations: 8.452 MB / 435.2 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02317/0.4686, allocations: 22.04 MB / 457.2 MB, free: 21.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.4709, allocations: 40.06 kB / 457.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.4723, allocations: 461 kB / 457.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007576/0.4799, allocations: 1.874 MB / 459.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.4902, allocations: 2.441 MB / 462 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004836/0.4951, allocations: 2.228 MB / 464.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.4978, allocations: 1.065 MB / 465.3 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.5005, allocations: 0.9695 MB / 466.3 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.5035, allocations: 1.201 MB / 467.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.5045, allocations: 120.4 kB / 467.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.5175, allocations: 2.405 MB / 470 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.5189, allocations: 402.3 kB / 470.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.5208, allocations: 366 kB / 470.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.5322, allocations: 3.749 MB / 474.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.5322, allocations: 6.125 kB / 474.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5323, allocations: 0 / 474.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.5325, allocations: 0 / 474.5 MB, free: 13.57 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.01088/0.5434, allocations: 2.206 MB / 476.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.5434, allocations: 10.12 kB / 476.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/0.5462, allocations: 416.5 kB / 477.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.5489, allocations: 0.8704 MB / 478 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.5492, allocations: 198.5 kB / 478.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.5495, allocations: 184.2 kB / 478.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/0.554, allocations: 2.07 MB / 480.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.554, allocations: 4 kB / 480.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.5542, allocations: 71.19 kB / 480.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.5543, allocations: 43.66 kB / 480.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.5596, allocations: 2.594 MB / 483.1 MB, free: 9.762 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.01238/0.572, allocations: 6.6 MB / 489.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.5769, allocations: 3.115 MB / 492.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.5781, allocations: 0.9095 MB / 493.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.5903, allocations: 7.991 MB / 0.49 GB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.5904, allocations: 51.88 kB / 0.4901 GB, free: 9.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=144): time 3.667e-06/0.5904, allocations: 0 / 0.4901 GB, free: 9.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02939/0.6198, allocations: 7.059 MB / 0.4969 GB, free: 2.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.6199, allocations: 103 kB / 0.497 GB, free: 2.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.6211, allocations: 0.7768 MB / 0.4978 GB, free: 1.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6212, allocations: 53.7 kB / 0.4979 GB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.6219, allocations: 0.7327 MB / 0.4986 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/0.6225, allocations: 0.6124 MB / 0.4992 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.6226, allocations: 40 kB / 0.4992 GB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.6229, allocations: 385.7 kB / 0.4996 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.624, allocations: 0.6013 MB / 0.5002 GB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.6255, allocations: 1.129 MB / 0.5013 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.6269, allocations: 0.7712 MB / 0.502 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.6269, allocations: 4 kB / 0.502 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007163/0.6341, allocations: 2.475 MB / 0.5044 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.6341, allocations: 12 kB / 0.5044 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.6341, allocations: 16 kB / 0.5045 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.6378, allocations: 0.499 MB / 0.5049 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.6401, allocations: 0.5227 MB / 0.5055 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.6526, allocations: 6.974 MB / 0.5123 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.6551, allocations: 103.9 kB / 0.5124 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006114/0.6558, allocations: 103.9 kB / 0.5125 GB, free: 1.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001614/0.6574, allocations: 369.2 kB / 0.5128 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/0.6581, allocations: 138.3 kB / 0.513 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008589/0.6667, allocations: 2.459 MB / 0.5154 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.6667, allocations: 20 kB / 0.5154 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6668, allocations: 0 / 0.5154 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.6668, allocations: 15.95 kB / 0.5154 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.6783, allocations: 4.087 MB / 0.5194 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.6784, allocations: 0 / 0.5194 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/0.6805, allocations: 391.5 kB / 0.5198 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.6843, allocations: 490.8 kB / 0.5202 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.6846, allocations: 51.97 kB / 0.5203 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.6956, allocations: 6.815 MB / 0.5269 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6957, allocations: 0 / 0.5269 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.7055, allocations: 3.135 MB / 0.53 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7066, allocations: 199.3 kB / 0.5302 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006607/0.7073, allocations: 47.94 kB / 0.5302 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.709, allocations: 63.91 kB / 0.5303 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/0.7096, allocations: 141.8 kB / 0.5304 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.7099, allocations: 63.97 kB / 0.5305 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.7111, allocations: 0.5001 MB / 0.531 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.005e-06/0.7112, allocations: 0 / 0.531 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006574/0.7177, allocations: 1.034 MB / 0.532 GB, free: 12.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.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 (178): * Single equations (assignments): 174 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00402/0.7218, allocations: 1.108 MB / 0.5331 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0051/0.7269, allocations: 2.241 MB / 0.5352 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.727, allocations: 0 / 0.5352 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.7296, allocations: 1.389 MB / 0.5366 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.732, allocations: 281 kB / 0.5369 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.7389, allocations: 3.926 MB / 0.5407 GB, free: 3.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.7399, allocations: 1.273 MB / 0.542 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009186/0.7408, allocations: 315.2 kB / 0.5423 GB, free: 2.145 MB / 414.1 MB Notification: Performance of SimCode: time 1.703e-06/0.7408, allocations: 0 / 0.5423 GB, free: 2.145 MB / 414.1 MB Notification: Performance of Templates: time 0.3517/1.093, allocations: 54.03 MB / 0.595 GB, free: 135.3 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.makefile make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.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.WaterSelfIonizationCalcHelperMain.o OMCppChemical_Chemical.Examples.AcidBase.WaterSelfIonizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.AcidBase.WaterSelfIonizationCalcHelperMain.o] Error 1