Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.H2O_ElectrochemicalCell.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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 102.6 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.001003/0.001003, allocations: 176.6 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.612/1.612, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3404/0.3404, allocations: 15.27 MB / 307 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004067, allocations: 8 kB / 372.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4316, allocations: 54.61 MB / 426.7 MB, free: 40.14 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.H2O_ElectrochemicalCell): time 0.00855/0.4402, allocations: 8.522 MB / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.4586, allocations: 17.83 MB / 453.1 MB, free: 24.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.4605, allocations: 38.88 kB / 453.1 MB, free: 24.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.4619, allocations: 463 kB / 453.5 MB, free: 24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.4659, allocations: 1.189 MB / 454.7 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.4739, allocations: 2.296 MB / 457 MB, free: 21.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.477, allocations: 1.93 MB / 459 MB, free: 20.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.4783, allocations: 1.03 MB / 460 MB, free: 20.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/0.4792, allocations: 0.7404 MB / 460.7 MB, free: 20.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4803, allocations: 0.9177 MB / 461.7 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.4805, allocations: 102.3 kB / 461.8 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.4877, allocations: 1.889 MB / 463.6 MB, free: 19.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.4882, allocations: 355 kB / 464 MB, free: 19.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007131/0.4889, allocations: 353.6 kB / 464.3 MB, free: 19.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.4953, allocations: 3.142 MB / 467.5 MB, free: 17.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4953, allocations: 0.9688 kB / 467.5 MB, free: 17.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4954, allocations: 0 / 467.5 MB, free: 17.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.4954, allocations: 0 / 467.5 MB, free: 17.92 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004985/0.5004, allocations: 2.008 MB / 469.5 MB, free: 16.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5005, allocations: 9.719 kB / 469.5 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.5022, allocations: 435.8 kB / 469.9 MB, free: 16.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.504, allocations: 1.011 MB / 470.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.5042, allocations: 185.8 kB / 471.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.5045, allocations: 167.4 kB / 471.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.5085, allocations: 2.193 MB / 473.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.5086, allocations: 5.312 kB / 473.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.5088, allocations: 71.12 kB / 473.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.5088, allocations: 41.25 kB / 473.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/0.5131, allocations: 2.661 MB / 476.2 MB, free: 13.93 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.012/0.5252, allocations: 7.231 MB / 483.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.5271, allocations: 1.172 MB / 484.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.5281, allocations: 0.5431 MB / 485.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007975/0.5361, allocations: 5.051 MB / 490.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5361, allocations: 47.19 kB / 490.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006633/0.5368, allocations: 108.8 kB / 490.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 4.608e-06/0.5368, allocations: 0 / 490.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.01656/0.5534, allocations: 4.827 MB / 495.2 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.5535, allocations: 119.8 kB / 495.3 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.5554, allocations: 1.458 MB / 496.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.5555, allocations: 41.7 kB / 496.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.5562, allocations: 0.8933 MB / 497.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.5565, allocations: 351.2 kB / 498.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.5566, allocations: 36 kB / 498.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5568, allocations: 369.9 kB / 498.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.5577, allocations: 0.6091 MB / 499.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.5592, allocations: 1.318 MB / 0.4887 GB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5605, allocations: 0.7993 MB / 0.4894 GB, free: 9.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.5605, allocations: 11.98 kB / 0.4895 GB, free: 9.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005338/0.5659, allocations: 2.355 MB / 0.4918 GB, free: 7.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.5659, allocations: 18.34 kB / 0.4918 GB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.566, allocations: 24 kB / 0.4918 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.5684, allocations: 395.1 kB / 0.4922 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5704, allocations: 0.55 MB / 0.4927 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008022/0.5784, allocations: 7.354 MB / 0.4999 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.58, allocations: 107.7 kB / 0.5 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.5802, allocations: 108 kB / 0.5001 GB, free: 14.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 3 {1 1,1 1,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006968/0.5809, allocations: 369.1 kB / 0.5005 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.5811, allocations: 126.4 kB / 0.5006 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.5856, allocations: 1.527 MB / 0.5021 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5856, allocations: 12 kB / 0.5021 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5856, allocations: 0 / 0.5021 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.5857, allocations: 7.969 kB / 0.5021 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006403/0.5921, allocations: 3.022 MB / 0.505 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.5921, allocations: 8 kB / 0.505 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.5929, allocations: 215.7 kB / 0.5052 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.5954, allocations: 425.4 kB / 0.5057 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.5955, allocations: 39.98 kB / 0.5057 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007377/0.6029, allocations: 7.152 MB / 0.5127 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.603, allocations: 11.94 kB / 0.5127 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00476/0.6077, allocations: 2.167 MB / 0.5148 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.6083, allocations: 211.5 kB / 0.515 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.6085, allocations: 35.92 kB / 0.515 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.6091, allocations: 47.77 kB / 0.5151 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6093, allocations: 116.4 kB / 0.5152 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.6094, allocations: 47.98 kB / 0.5152 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.6107, allocations: 1.001 MB / 0.5162 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6107, allocations: 4 kB / 0.5162 GB, free: 12.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003188/0.6139, allocations: 0.8081 MB / 0.517 GB, free: 12.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.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 (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 5 {1 1,1 1,1 3,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/0.6156, allocations: 0.8547 MB / 0.5178 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.6188, allocations: 1.727 MB / 0.5195 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6188, allocations: 4.125 kB / 0.5195 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.6201, allocations: 0.984 MB / 0.5205 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6215, allocations: 224.6 kB / 0.5207 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.6263, allocations: 3.532 MB / 0.5242 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.6271, allocations: 1.215 MB / 0.5254 GB, free: 3.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.6276, allocations: 223.3 kB / 0.5256 GB, free: 3.176 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6276, allocations: 0 / 0.5256 GB, free: 3.176 MB / 398.1 MB Notification: Performance of Templates: time 0.06699/0.6946, allocations: 60.45 MB / 0.5846 GB, free: 6.734 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.H2O_ElectrochemicalCell.makefile make -j1 -f Chemical_Chemical.Examples.H2O_ElectrochemicalCell.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.H2O_ElectrochemicalCellCalcHelperMain.o OMCppChemical_Chemical.Examples.H2O_ElectrochemicalCellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.H2O_ElectrochemicalCellCalcHelperMain.o] Error 1