Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009135/0.0009132, allocations: 94.11 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000987/0.000987, allocations: 198.6 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.675/1.675, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 7.984 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.006286/0.1457, allocations: 4.826 MB / 363.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.1496, allocations: 1.751 MB / 365.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.1502, allocations: 11.94 kB / 365.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1513, allocations: 486.3 kB / 365.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008091/0.1521, allocations: 334.5 kB / 366.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008716/0.153, allocations: 255 kB / 366.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009691/0.154, allocations: 0.7715 MB / 367.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.1545, allocations: 255.9 kB / 367.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.1549, allocations: 278.9 kB / 367.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.1553, allocations: 358.5 kB / 368.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.1554, allocations: 32 kB / 368.1 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1556, allocations: 64 kB / 368.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.1561, allocations: 0.5415 MB / 368.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.1563, allocations: 288.8 kB / 369 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.158, allocations: 1.726 MB / 370.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.158, allocations: 3.938 kB / 370.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.158, allocations: 0 / 370.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.158, allocations: 0 / 370.7 MB, free: 1.945 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002962/0.161, allocations: 1.823 MB / 372.5 MB, free: 64 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.161, allocations: 12.03 kB / 372.5 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.288/0.4491, allocations: 182.9 kB / 372.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.4528, allocations: 1.408 MB / 374.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4531, allocations: 95.08 kB / 374.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4532, allocations: 52.59 kB / 374.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4546, allocations: 0.5909 MB / 374.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4546, allocations: 5.344 kB / 374.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.4547, allocations: 23.81 kB / 374.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.4547, allocations: 11.94 kB / 374.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.4556, allocations: 353.8 kB / 375.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/0.4618, allocations: 3.288 MB / 378.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4631, allocations: 433.3 kB / 379 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.4636, allocations: 199.5 kB / 379.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.4637, allocations: 2.531 kB / 379.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4637, allocations: 38.27 kB / 379.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.755e-06/0.4637, allocations: 0 / 379.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002467/0.4662, allocations: 0.75 MB / 380 MB, free: 15.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.4664, allocations: 213.6 kB / 380.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006427/0.4728, allocations: 2.904 MB / 383.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.473, allocations: 31.89 kB / 383.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009925/0.474, allocations: 0.7843 MB / 383.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.4741, allocations: 73.98 kB / 384 MB, free: 14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.4741, allocations: 5.062 kB / 384 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4743, allocations: 316.7 kB / 384.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.4748, allocations: 134.4 kB / 384.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.4754, allocations: 299.1 kB / 384.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.4758, allocations: 160.4 kB / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4758, allocations: 1.125 kB / 384.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002164/0.478, allocations: 0.6331 MB / 385.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.4781, allocations: 6.812 kB / 385.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4781, allocations: 4.125 kB / 385.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.4785, allocations: 65.12 kB / 385.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.4789, allocations: 82.27 kB / 385.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.4808, allocations: 1.569 MB / 387.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.4817, allocations: 77.88 kB / 387.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.4817, allocations: 12.91 kB / 387.3 MB, free: 11.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (cccvCharger.CV,energy.local_reset,cell.limIntegrator.local_reset,cell.cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001484/0.4832, allocations: 0.5772 MB / 387.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.4836, allocations: 162.7 kB / 388 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.4851, allocations: 0.55 MB / 388.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.4852, allocations: 2.344 kB / 388.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4852, allocations: 1.672 kB / 388.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4852, allocations: 1.828 kB / 388.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.4893, allocations: 1.729 MB / 390.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4894, allocations: 1.781 kB / 390.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.4896, allocations: 52.91 kB / 390.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.4899, allocations: 54.02 kB / 390.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4899, allocations: 6.062 kB / 390.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.4913, allocations: 1.526 MB / 392 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4913, allocations: 5.891 kB / 392 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.4933, allocations: 0.7519 MB / 392.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.4941, allocations: 384.8 kB / 393.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4943, allocations: 10.75 kB / 393.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.4947, allocations: 54.45 kB / 393.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4948, allocations: 37.91 kB / 393.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.4949, allocations: 5.5 kB / 393.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.004037/0.4989, allocations: 2.076 MB / 395.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4989, allocations: 1.094 kB / 395.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001261/0.5002, allocations: 199.3 kB / 395.5 MB, free: 6.984 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (cell.cell.limIntegrator.y,cell.limIntegrator.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009995/0.5012, allocations: 356.8 kB / 395.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.5026, allocations: 471.3 kB / 396.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5026, allocations: 0 / 396.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.503, allocations: 284.3 kB / 396.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.5044, allocations: 222.6 kB / 396.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.5103, allocations: 3.468 MB / 400.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/0.5113, allocations: 1.359 MB / 401.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.5118, allocations: 79.44 kB / 401.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of SimCode: time 1.522e-06/0.5118, allocations: 0 / 401.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of Templates: time 0.0537/0.5655, allocations: 24.57 MB / 426.2 MB, free: 9.48 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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 OMCppModelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o] Error 1