Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction") translateModel(Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 99.36 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.001342/0.001342, allocations: 179.9 kB / 16.58 MB, free: 6.879 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.565/1.565, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2779/0.2779, allocations: 15.26 MB / 307 MB, free: 15.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.000509, allocations: 8 kB / 372.1 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4503, allocations: 54.62 MB / 426.7 MB, free: 40.33 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.ClimateChange.ElectrochemicalAcetateProduction): time 0.0102/0.4606, allocations: 10.31 MB / 437 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.4847, allocations: 22.81 MB / 459.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.4872, allocations: 44.97 kB / 459.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.4889, allocations: 0.5382 MB / 460.4 MB, free: 19.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006864/0.4958, allocations: 1.714 MB / 462.1 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009913/0.5057, allocations: 2.766 MB / 464.9 MB, free: 16.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004188/0.5099, allocations: 2.485 MB / 467.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.5119, allocations: 1.357 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5137, allocations: 0.998 MB / 469.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.5155, allocations: 1.256 MB / 471 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003394/0.5159, allocations: 136.5 kB / 471.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.5272, allocations: 2.449 MB / 473.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000819/0.528, allocations: 473.2 kB / 474 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5294, allocations: 437.4 kB / 474.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5397, allocations: 4.112 MB / 478.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.5398, allocations: 1.219 kB / 478.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5398, allocations: 0 / 478.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-05/0.5399, allocations: 0 / 478.6 MB, free: 11.36 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: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.008693/0.5486, allocations: 2.508 MB / 481.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.5487, allocations: 9.938 kB / 481.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.5516, allocations: 0.5043 MB / 481.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.5556, allocations: 1.183 MB / 482.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/0.556, allocations: 219.9 kB / 483 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000924/0.557, allocations: 219.1 kB / 483.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008698/0.5657, allocations: 2.673 MB / 485.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.346e-05/0.5658, allocations: 9.062 kB / 485.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003684/0.5662, allocations: 87.72 kB / 486 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.345e-05/0.5663, allocations: 52.88 kB / 486 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006297/0.5726, allocations: 3.143 MB / 489.2 MB, free: 6.414 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.01352/0.5861, allocations: 9.22 MB / 498.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.5887, allocations: 1.833 MB / 0.4885 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.59, allocations: 0.896 MB / 0.4894 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.6007, allocations: 7.313 MB / 0.4965 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.6008, allocations: 47.56 kB / 0.4966 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001088/0.6019, allocations: 202.2 kB / 0.4968 GB, free: 2.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=113): time 4.568e-06/0.6019, allocations: 0 / 0.4968 GB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=161): time 0.0332/0.6351, allocations: 9.574 MB / 0.5061 GB, free: 8.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.6352, allocations: 124.1 kB / 0.5062 GB, free: 8.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.637, allocations: 1.333 MB / 0.5075 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6371, allocations: 53.7 kB / 0.5076 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.6379, allocations: 1.049 MB / 0.5086 GB, free: 6.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/0.6384, allocations: 0.5546 MB / 0.5091 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.6385, allocations: 52 kB / 0.5092 GB, free: 5.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.6387, allocations: 394.8 kB / 0.5096 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.6401, allocations: 0.8325 MB / 0.5104 GB, free: 4.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.6422, allocations: 1.709 MB / 0.5121 GB, free: 2.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.6439, allocations: 1.076 MB / 0.5131 GB, free: 1.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.644, allocations: 12 kB / 0.5131 GB, free: 1.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008189/0.6521, allocations: 3.472 MB / 0.5165 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.6522, allocations: 16 kB / 0.5165 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/0.6523, allocations: 28 kB / 0.5165 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005202/0.6575, allocations: 1.197 MB / 0.5177 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.6593, allocations: 0.5148 MB / 0.5182 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009783/0.6691, allocations: 7.03 MB / 0.5251 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6714, allocations: 135.7 kB / 0.5252 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.6717, allocations: 140 kB / 0.5253 GB, free: 4.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (270): * Single equations (assignments): 265 * 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: 4 * 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: 2 {(1,100.0%) 11,(1,100.0%) 3} * Non-linear torn systems: 2 {1 20,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.6728, allocations: 449.1 kB / 0.5258 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.6731, allocations: 162 kB / 0.5259 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007822/0.681, allocations: 2.857 MB / 0.5287 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.681, allocations: 16 kB / 0.5287 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.681, allocations: 4 kB / 0.5287 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.681, allocations: 11.97 kB / 0.5287 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.6916, allocations: 4.846 MB / 0.5335 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6916, allocations: 7.938 kB / 0.5335 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6927, allocations: 255.7 kB / 0.5337 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004706/0.6974, allocations: 1.062 MB / 0.5348 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.6975, allocations: 59.95 kB / 0.5348 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008043/0.7056, allocations: 6.407 MB / 0.5411 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7056, allocations: 4.031 kB / 0.5411 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007922/0.7135, allocations: 3.663 MB / 0.5447 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.7142, allocations: 235 kB / 0.5449 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.7144, allocations: 36 kB / 0.5449 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/0.7154, allocations: 63.88 kB / 0.545 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.7157, allocations: 153 kB / 0.5451 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.7158, allocations: 71.95 kB / 0.5452 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00126/0.7171, allocations: 0.8686 MB / 0.546 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7171, allocations: 3.938 kB / 0.5461 GB, free: 14.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004608/0.7217, allocations: 1.081 MB / 0.5471 GB, free: 13.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,AcAc.logn,CO2.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 (133): * Single equations (assignments): 128 * 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: 4 * 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: 2 {(1,100.0%) 9,(1,100.0%) 3} * Non-linear torn systems: 2 {1 21,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/0.7242, allocations: 1.104 MB / 0.5482 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004988/0.7292, allocations: 2.756 MB / 0.5509 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7292, allocations: 0 / 0.5509 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.7315, allocations: 1.473 MB / 0.5523 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.7331, allocations: 264.6 kB / 0.5526 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.7398, allocations: 4.529 MB / 0.557 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.7409, allocations: 1.403 MB / 0.5584 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006496/0.7415, allocations: 291.4 kB / 0.5586 GB, free: 1.34 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7415, allocations: 0 / 0.5586 GB, free: 1.34 MB / 430.1 MB Notification: Performance of Templates: time 0.2987/1.04, allocations: 71.47 MB / 0.6284 GB, free: 124.3 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.makefile make -j1 -f Chemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProduction.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.ClimateChange.ElectrochemicalAcetateProductionCalcHelperMain.o OMCppChemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.ClimateChange.ElectrochemicalAcetateProductionCalcHelperMain.o] Error 1