Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.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.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=72000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") translateModel(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=72000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 97.55 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 203.3 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002813, allocations: 4 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 51.49 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.007847/0.1239, allocations: 4.768 MB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.1297, allocations: 2.558 MB / 365.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1308, allocations: 23.88 kB / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.133, allocations: 0.9309 MB / 366.3 MB, free: 5.586 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/BatteryStacks/CellRCStack.mo:14:26-14:33:writable] Warning: 'each' used when modifying non-array element v. Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1346, allocations: 386.8 kB / 366.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.1358, allocations: 378.4 kB / 367.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.138, allocations: 1.144 MB / 368.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007361/0.1387, allocations: 451.2 kB / 368.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.1396, allocations: 482.2 kB / 369.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.1402, allocations: 0.5211 MB / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1404, allocations: 56 kB / 369.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.1407, allocations: 112 kB / 369.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.1412, allocations: 478.5 kB / 370.3 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.1416, allocations: 344.5 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2201/0.3617, allocations: 1.785 MB / 372.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3617, allocations: 0.9062 kB / 372.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3617, allocations: 0 / 372.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.3618, allocations: 0 / 372.4 MB, free: 10.97 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005501/0.3673, allocations: 2.259 MB / 374.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3674, allocations: 8.656 kB / 374.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/0.3679, allocations: 230 kB / 374.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.3709, allocations: 1.522 MB / 376.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005978/0.3715, allocations: 187 kB / 376.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3717, allocations: 92.3 kB / 376.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.3743, allocations: 1.12 MB / 377.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3743, allocations: 2 kB / 377.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3744, allocations: 37.84 kB / 377.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.3745, allocations: 20.38 kB / 377.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.3762, allocations: 0.7455 MB / 378.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007201/0.3834, allocations: 4.322 MB / 383 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.385, allocations: 0.9963 MB / 383.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.3851, allocations: 7 kB / 384 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3851, allocations: 46.22 kB / 384 MB, free: 6.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/0.3851, allocations: 0 / 384 MB, free: 6.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002243/0.3874, allocations: 0.9158 MB / 384.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.3875, allocations: 422.2 kB / 385.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.3901, allocations: 2.063 MB / 387.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.3902, allocations: 37.89 kB / 387.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/0.3908, allocations: 0.8915 MB / 388.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3909, allocations: 158.8 kB / 388.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.391, allocations: 10.44 kB / 388.5 MB, free: 5.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.391, allocations: 331.5 kB / 388.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.3917, allocations: 286.4 kB / 389.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.3925, allocations: 0.5652 MB / 389.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.3931, allocations: 312.7 kB / 390 MB, free: 4.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3932, allocations: 1.25 kB / 390 MB, free: 4.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001906/0.3951, allocations: 0.9126 MB / 390.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3951, allocations: 9.062 kB / 390.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3951, allocations: 7.562 kB / 390.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.3952, allocations: 13.56 kB / 390.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.3959, allocations: 175 kB / 391.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.3959, allocations: 15.69 kB / 391.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3971, allocations: 209.7 kB / 391.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.3972, allocations: 39.2 kB / 391.3 MB, free: 4.219 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (pulseSeries.on1,pulseSeries.on2,energy2.local_reset,battery2.limIntegrator.local_reset,energy1.local_reset,battery1.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000786/0.398, allocations: 0.5569 MB / 391.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.3982, allocations: 189.2 kB / 392.1 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.3997, allocations: 0.7567 MB / 392.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3997, allocations: 4.125 kB / 392.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3997, allocations: 4.688 kB / 392.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3998, allocations: 7.984 kB / 392.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.403, allocations: 2.01 MB / 394.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.403, allocations: 0.7188 kB / 394.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.4036, allocations: 129.5 kB / 395 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.4036, allocations: 6.938 kB / 395 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.4037, allocations: 17.11 kB / 395 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4037, allocations: 5.234 kB / 395 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4037, allocations: 1.062 kB / 395 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.4059, allocations: 1.187 MB / 396.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.4064, allocations: 323 kB / 396.5 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.4066, allocations: 15.41 kB / 396.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.4076, allocations: 203.3 kB / 396.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.4079, allocations: 154.4 kB / 396.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.408, allocations: 20.39 kB / 396.9 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.4097, allocations: 1.441 MB / 398.3 MB, free: 228 kB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4097, allocations: 0 / 398.3 MB, free: 228 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009145/0.4107, allocations: 288.5 kB / 398.6 MB, free: 160 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (battery1.limIntegrator.y,energy1.y,battery2.limIntegrator.y,battery2.capacitor[1].v,battery2.capacitor[2].v,energy2.y) * Number of discrete variables: 2 (pulseSeries.on1,pulseSeries.on2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.4118, allocations: 474.7 kB / 399.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.4133, allocations: 0.652 MB / 399.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4133, allocations: 3.844 kB / 399.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.4141, allocations: 364.9 kB / 400.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4152, allocations: 290.4 kB / 400.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.4212, allocations: 3.88 MB / 404.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.4225, allocations: 1.472 MB / 405.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001015/0.4235, allocations: 261.6 kB / 406 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.4238, allocations: 111.4 kB / 406.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4238, allocations: 0 / 406.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of Templates: time 0.04098/0.4648, allocations: 14.86 MB / 421 MB, free: 11.06 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_15syn.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_16dae.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_17inl.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_17inl.c clang -I. -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_17inl.o -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Electrical/Batteries/Examples" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_Batteries_Examples_BatteryDischargeCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,--no-as-needed -Wl,--disable-new-dtags -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge_functions.c:(.text+0x13b): undefined reference to `ModelicaStandardTables_CombiTable1D_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.makefile:37: omc_main_target] Error 1