Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 100.5 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.001886/0.001887, allocations: 176 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.535/1.535, allocations: 223.3 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.3396/0.3396, allocations: 15.26 MB / 307 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 372.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4418, allocations: 54.62 MB / 426.7 MB, free: 39.89 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.01068/0.4526, allocations: 7.912 MB / 434.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02061/0.4732, allocations: 19.87 MB / 454.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.4752, allocations: 37.72 kB / 454.5 MB, free: 22.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4769, allocations: 492.9 kB / 455 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.4808, allocations: 1.037 MB / 456.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.491, allocations: 2.678 MB / 458.7 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.4943, allocations: 1.657 MB / 460.4 MB, free: 19.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.496, allocations: 0.7445 MB / 461.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.4976, allocations: 0.6436 MB / 461.8 MB, free: 19.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.4993, allocations: 0.7866 MB / 462.6 MB, free: 18.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.4995, allocations: 81.31 kB / 462.6 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007787/0.5073, allocations: 1.949 MB / 464.6 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008339/0.5082, allocations: 299.3 kB / 464.9 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.5092, allocations: 300 kB / 465.2 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006687/0.5159, allocations: 2.961 MB / 468.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5159, allocations: 1.469 kB / 468.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.516, allocations: 0 / 468.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001197/0.5161, allocations: 0 / 468.1 MB, free: 16.98 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.006011/0.5221, allocations: 1.78 MB / 469.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.5222, allocations: 10.92 kB / 469.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.5248, allocations: 433.9 kB / 470.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.5282, allocations: 0.9644 MB / 471.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.5285, allocations: 150.4 kB / 471.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/0.5293, allocations: 126.1 kB / 471.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.5333, allocations: 1.74 MB / 473.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.5334, allocations: 1.375 kB / 473.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.5335, allocations: 56.33 kB / 473.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.5335, allocations: 31.62 kB / 473.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.5376, allocations: 2.311 MB / 475.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008992/0.5467, allocations: 5.538 MB / 481.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.5482, allocations: 0.7333 MB / 482 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.5489, allocations: 364.8 kB / 482.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008709/0.5576, allocations: 5.579 MB / 487.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5577, allocations: 42.03 kB / 488 MB, free: 5.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.315e-06/0.5577, allocations: 0 / 488 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001874/0.5596, allocations: 0.8003 MB / 488.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.5596, allocations: 107.1 kB / 488.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.5617, allocations: 1.281 MB / 490.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.5617, allocations: 31.8 kB / 490.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/0.5624, allocations: 0.834 MB / 491 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5625, allocations: 149.6 kB / 491.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.5626, allocations: 25.19 kB / 491.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5627, allocations: 359 kB / 491.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.5633, allocations: 325.8 kB / 491.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.5644, allocations: 1.152 MB / 493 MB, free: 1.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.5653, allocations: 0.5056 MB / 493.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.5653, allocations: 11.59 kB / 493.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002598/0.5679, allocations: 1.536 MB / 495.1 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.568, allocations: 16.91 kB / 495.1 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.568, allocations: 28 kB / 495.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.5687, allocations: 169.6 kB / 495.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5699, allocations: 395.4 kB / 495.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.5733, allocations: 3.876 MB / 499.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5749, allocations: 194.2 kB / 499.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.5751, allocations: 104 kB / 499.8 MB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006796/0.5758, allocations: 329.6 kB / 0.4884 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.576, allocations: 110.6 kB / 0.4885 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.5782, allocations: 0.9573 MB / 0.4895 GB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.5782, allocations: 4 kB / 0.4895 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5782, allocations: 0 / 0.4895 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5782, allocations: 0 / 0.4895 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.5811, allocations: 1.354 MB / 0.4908 GB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5811, allocations: 0 / 0.4908 GB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.5814, allocations: 60.2 kB / 0.4909 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008016/0.5822, allocations: 187 kB / 0.491 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.5822, allocations: 19.98 kB / 0.4911 GB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.5855, allocations: 3.746 MB / 0.4947 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5855, allocations: 4 kB / 0.4947 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5871, allocations: 0.9001 MB / 0.4956 GB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/0.5878, allocations: 223.4 kB / 0.4958 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/0.5882, allocations: 11.98 kB / 0.4958 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.5888, allocations: 20 kB / 0.4958 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.5889, allocations: 35.91 kB / 0.4959 GB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.589, allocations: 19.98 kB / 0.4959 GB, free: 2.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.5907, allocations: 0.9307 MB / 0.4968 GB, free: 1.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5907, allocations: 0 / 0.4968 GB, free: 1.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003739/0.5945, allocations: 0.698 MB / 0.4975 GB, free: 0.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (30): * Single equations (assignments): 26 * 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: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003743/0.5982, allocations: 0.8344 MB / 0.4983 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.601, allocations: 0.833 MB / 0.4991 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.6011, allocations: 0 / 0.4991 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.6018, allocations: 391.1 kB / 0.4995 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.6041, allocations: 178.6 kB / 0.4997 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.6092, allocations: 2.467 MB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6103, allocations: 1.099 MB / 0.5031 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.6109, allocations: 211.3 kB / 0.5033 GB, free: 10.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6109, allocations: 0 / 0.5033 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Templates: time 0.0576/0.6685, allocations: 40.11 MB / 0.5425 GB, free: 2.691 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.CheckSubstancesData.StandardElectrochemicalCellCalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCellCalcHelperMain.o] Error 1