Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, 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.001429/0.001429, allocations: 175.3 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.527/1.527, allocations: 223.3 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.322/0.322, allocations: 15.26 MB / 307 MB, free: 15.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 12 kB / 372.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.448, allocations: 54.62 MB / 426.7 MB, free: 39.99 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.StandardElectrochemicalCell2): time 0.008476/0.4566, allocations: 7.251 MB / 434 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.4749, allocations: 16.74 MB / 450.7 MB, free: 25.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.4766, allocations: 35 kB / 450.7 MB, free: 25.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.478, allocations: 427.7 kB / 451.2 MB, free: 25.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.4816, allocations: 0.8743 MB / 452 MB, free: 25.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.4919, allocations: 2.286 MB / 454.3 MB, free: 23.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.4951, allocations: 1.501 MB / 455.8 MB, free: 23.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.4962, allocations: 0.718 MB / 456.5 MB, free: 22.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.4971, allocations: 0.5812 MB / 457.1 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000862/0.498, allocations: 0.7144 MB / 457.8 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.4981, allocations: 76.91 kB / 457.9 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007246/0.5054, allocations: 1.647 MB / 459.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.5058, allocations: 284.1 kB / 459.8 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.5064, allocations: 277 kB / 460.1 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.5111, allocations: 2.598 MB / 462.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5111, allocations: 0 / 462.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5111, allocations: 0 / 462.7 MB, free: 20.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5111, allocations: 1.062 kB / 462.7 MB, free: 20.61 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.00307/0.5142, allocations: 1.652 MB / 464.4 MB, free: 19.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5142, allocations: 9.156 kB / 464.4 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.5157, allocations: 389.4 kB / 464.7 MB, free: 19.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.5172, allocations: 0.9038 MB / 465.6 MB, free: 18.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.5174, allocations: 148 kB / 465.8 MB, free: 18.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.5176, allocations: 120.7 kB / 465.9 MB, free: 18.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.5203, allocations: 1.632 MB / 467.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.5203, allocations: 5.375 kB / 467.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.5205, allocations: 51.03 kB / 467.6 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.5205, allocations: 41.53 kB / 467.6 MB, free: 17.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.5241, allocations: 2.088 MB / 469.7 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008173/0.5323, allocations: 5.392 MB / 475.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.5337, allocations: 0.7267 MB / 475.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.5343, allocations: 354.7 kB / 476.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007126/0.5414, allocations: 4.949 MB / 481.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5415, allocations: 40.78 kB / 481.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003982/0.5419, allocations: 77.38 kB / 481.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/0.5419, allocations: 0 / 481.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001488/0.5434, allocations: 0.7569 MB / 482 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5435, allocations: 105.9 kB / 482.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.5452, allocations: 1.19 MB / 483.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.5452, allocations: 32.16 kB / 483.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.5458, allocations: 0.7739 MB / 484.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5459, allocations: 134.1 kB / 484.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.546, allocations: 29.56 kB / 484.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5461, allocations: 356.8 kB / 484.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/0.5468, allocations: 315.1 kB / 484.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.548, allocations: 1.037 MB / 486 MB, free: 6.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.549, allocations: 490.8 kB / 486.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/0.549, allocations: 7.562 kB / 486.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003421/0.5525, allocations: 1.431 MB / 487.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.5525, allocations: 20.45 kB / 487.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-05/0.5526, allocations: 26.12 kB / 487.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/0.5536, allocations: 155.4 kB / 488.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.5551, allocations: 373.4 kB / 488.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.5587, allocations: 3.874 MB / 492.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5601, allocations: 74.05 kB / 492.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.5604, allocations: 93.02 kB / 492.5 MB, free: 1.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.0007706/0.5611, allocations: 316.5 kB / 492.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.5615, allocations: 100.8 kB / 492.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.5636, allocations: 0.8546 MB / 493.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5636, allocations: 3.125 kB / 493.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5637, allocations: 1.281 kB / 493.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.5637, allocations: 5.781 kB / 493.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.5666, allocations: 1.252 MB / 495 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5666, allocations: 4 kB / 495 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.5669, allocations: 58.17 kB / 495.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.5677, allocations: 182.7 kB / 495.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.5677, allocations: 17.41 kB / 495.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.5705, allocations: 3.735 MB / 499 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.5705, allocations: 7.969 kB / 499 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.5718, allocations: 0.8554 MB / 499.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.5723, allocations: 199.7 kB / 0.4883 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.5726, allocations: 12.06 kB / 0.4883 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.573, allocations: 8 kB / 0.4883 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.5731, allocations: 39.89 kB / 0.4884 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.5732, allocations: 19.95 kB / 0.4884 GB, free: 10.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.5744, allocations: 0.8648 MB / 0.4892 GB, free: 9.449 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5744, allocations: 3.938 kB / 0.4893 GB, free: 9.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002748/0.5771, allocations: 0.616 MB / 0.4899 GB, free: 8.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.002156/0.5793, allocations: 0.7298 MB / 0.4906 GB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.5812, allocations: 0.7742 MB / 0.4913 GB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5812, allocations: 0 / 0.4913 GB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.5817, allocations: 388.5 kB / 0.4917 GB, free: 6.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.583, allocations: 165 kB / 0.4919 GB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.5874, allocations: 2.292 MB / 0.4941 GB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.5882, allocations: 1.063 MB / 0.4951 GB, free: 3.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.5887, allocations: 187.3 kB / 0.4953 GB, free: 3.141 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5887, allocations: 0 / 0.4953 GB, free: 3.141 MB / 366.1 MB Notification: Performance of Templates: time 0.0421/0.6308, allocations: 36.66 MB / 0.5311 GB, free: 14.55 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.StandardElectrochemicalCell2CalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2CalcHelperMain.o] Error 1