Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008945, allocations: 99.67 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.001068/0.001068, allocations: 171.9 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.571/1.571, allocations: 223.2 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3167/0.3167, allocations: 15.26 MB / 307 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 8 kB / 372.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.449, allocations: 54.61 MB / 426.7 MB, free: 40.06 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.StandardLeadAcidPotential): time 0.009483/0.4586, allocations: 9.17 MB / 435.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02631/0.4849, allocations: 25.98 MB / 461.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.4876, allocations: 44.81 kB / 461.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4895, allocations: 0.6246 MB / 462.5 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005645/0.4951, allocations: 1.339 MB / 463.9 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01601/0.5112, allocations: 3.488 MB / 467.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.5152, allocations: 1.998 MB / 469.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.5167, allocations: 0.9269 MB / 470.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.5182, allocations: 0.8289 MB / 471.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.5197, allocations: 1.024 MB / 472.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.5199, allocations: 99.09 kB / 472.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.5316, allocations: 2.534 MB / 474.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.5333, allocations: 385.6 kB / 475.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.5351, allocations: 356.8 kB / 475.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.5473, allocations: 3.776 MB / 479.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.5474, allocations: 4 kB / 479.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5474, allocations: 1.219 kB / 479.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.5475, allocations: 0 / 479.3 MB, free: 10.27 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.006609/0.5542, allocations: 2.128 MB / 481.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.5542, allocations: 9.5 kB / 481.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.5567, allocations: 0.5201 MB / 481.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.5589, allocations: 1.114 MB / 483 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.5591, allocations: 170.6 kB / 483.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.5594, allocations: 143.7 kB / 483.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/0.5648, allocations: 2.018 MB / 485.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.5649, allocations: 1.406 kB / 485.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.5651, allocations: 57.22 kB / 485.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.5652, allocations: 37.06 kB / 485.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.5717, allocations: 2.76 MB / 488.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.5825, allocations: 6.538 MB / 494.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5841, allocations: 1.063 MB / 495.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.5849, allocations: 0.5523 MB / 496.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.5974, allocations: 8.212 MB / 0.4928 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.5975, allocations: 42.94 kB / 0.4928 GB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000658/0.5981, allocations: 102.6 kB / 0.4929 GB, free: 6.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 4.058e-06/0.5982, allocations: 0 / 0.4929 GB, free: 6.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.001995/0.6002, allocations: 0.9932 MB / 0.4939 GB, free: 5.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6003, allocations: 127.4 kB / 0.494 GB, free: 5.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.602, allocations: 1.225 MB / 0.4952 GB, free: 4.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.6021, allocations: 37.7 kB / 0.4952 GB, free: 4.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008538/0.603, allocations: 0.9512 MB / 0.4962 GB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.6032, allocations: 197.5 kB / 0.4963 GB, free: 2.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.6032, allocations: 32 kB / 0.4964 GB, free: 2.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.6035, allocations: 369.8 kB / 0.4967 GB, free: 2.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/0.6041, allocations: 303.8 kB / 0.497 GB, free: 2.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6055, allocations: 1.316 MB / 0.4983 GB, free: 432 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.6064, allocations: 0.519 MB / 0.4988 GB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.6064, allocations: 8 kB / 0.4988 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00276/0.6092, allocations: 1.679 MB / 0.5005 GB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.6092, allocations: 24 kB / 0.5005 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/0.6093, allocations: 36 kB / 0.5005 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.61, allocations: 169.3 kB / 0.5007 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.6114, allocations: 475.4 kB / 0.5011 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.6145, allocations: 3.892 MB / 0.5049 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6159, allocations: 87.72 kB / 0.505 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.6161, allocations: 128 kB / 0.5051 GB, free: 9.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0007538/0.6169, allocations: 392.9 kB / 0.5055 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6171, allocations: 138.2 kB / 0.5056 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.6199, allocations: 1.392 MB / 0.507 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6199, allocations: 0 / 0.507 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6199, allocations: 4 kB / 0.507 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.62, allocations: 3.984 kB / 0.507 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.6226, allocations: 1.495 MB / 0.5085 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.6226, allocations: 4 kB / 0.5085 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.6229, allocations: 71.89 kB / 0.5085 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.6237, allocations: 175.6 kB / 0.5087 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.6238, allocations: 20 kB / 0.5087 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.6268, allocations: 3.742 MB / 0.5124 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6268, allocations: 4 kB / 0.5124 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6283, allocations: 0.9716 MB / 0.5133 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.6289, allocations: 255.1 kB / 0.5136 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.629, allocations: 12 kB / 0.5136 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.6295, allocations: 15.98 kB / 0.5136 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.6296, allocations: 39.97 kB / 0.5136 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.6296, allocations: 19.98 kB / 0.5137 GB, free: 15.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.6311, allocations: 0.919 MB / 0.5146 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6311, allocations: 0 / 0.5146 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003594/0.6347, allocations: 0.8502 MB / 0.5154 GB, free: 13.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.00259/0.6373, allocations: 1.041 MB / 0.5164 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.6395, allocations: 0.8979 MB / 0.5173 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6395, allocations: 0.5 kB / 0.5173 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.6401, allocations: 403.4 kB / 0.5177 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6415, allocations: 225.6 kB / 0.5179 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.646, allocations: 2.836 MB / 0.5206 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.6469, allocations: 1.188 MB / 0.5218 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.6476, allocations: 304.9 kB / 0.5221 GB, free: 6.988 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6476, allocations: 0 / 0.5221 GB, free: 6.988 MB / 398.1 MB Notification: Performance of Templates: time 0.06445/0.712, allocations: 48.25 MB / 0.5692 GB, free: 6.832 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.StandardLeadAcidPotentialCalcHelperMain.o OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotentialCalcHelperMain.o] Error 1