Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.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.CCCVcharging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|battery.capacitor.1..v|battery.capacitor.2..v|battery.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging") translateModel(Modelica.Electrical.Batteries.Examples.CCCVcharging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|battery.capacitor.1..v|battery.capacitor.2..v|battery.limIntegrator.y|energy.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002297, allocations: 7.984 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1108, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCVcharging): time 0.004081/0.1149, allocations: 3.283 MB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1182, allocations: 1.923 MB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.1187, allocations: 11.94 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.1203, allocations: 0.787 MB / 364.1 MB, free: 7.895 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.000507/0.1208, allocations: 223.3 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.1214, allocations: 203.4 kB / 364.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009766/0.1224, allocations: 0.7222 MB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004398/0.1228, allocations: 276 kB / 365.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.1231, allocations: 299 kB / 365.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.1236, allocations: 326.7 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.1237, allocations: 35.94 kB / 366.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1239, allocations: 71.98 kB / 366.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.1243, allocations: 346.8 kB / 366.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1245, allocations: 241 kB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.1256, allocations: 1.227 MB / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1257, allocations: 0 / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1257, allocations: 0 / 368 MB, free: 3.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.1257, allocations: 0 / 368 MB, free: 3.949 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002339/0.128, allocations: 1.544 MB / 369.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1281, allocations: 12.02 kB / 369.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.1283, allocations: 162 kB / 369.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.1301, allocations: 1.18 MB / 370.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.1304, allocations: 140.3 kB / 371 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1305, allocations: 48 kB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1317, allocations: 0.6712 MB / 371.7 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1317, allocations: 4 kB / 371.7 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.1318, allocations: 24 kB / 371.8 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2349/0.3667, allocations: 12 kB / 371.8 MB, free: 0 / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.3685, allocations: 444.3 kB / 372.2 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/0.3744, allocations: 2.544 MB / 374.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.3758, allocations: 471.8 kB / 375.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3758, allocations: 3.156 kB / 375.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3758, allocations: 37.61 kB / 375.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 4.749e-06/0.3759, allocations: 2.625 kB / 375.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.00252/0.3784, allocations: 0.9016 MB / 376.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.3785, allocations: 266.6 kB / 376.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.3813, allocations: 1.537 MB / 378 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.3814, allocations: 32.02 kB / 378 MB, free: 16.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.382, allocations: 0.6534 MB / 378.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3822, allocations: 105 kB / 378.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.3822, allocations: 9.156 kB / 378.8 MB, free: 16.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.3823, allocations: 322.9 kB / 379.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.3828, allocations: 184.8 kB / 379.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.3834, allocations: 320.7 kB / 379.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.3839, allocations: 216.9 kB / 379.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3839, allocations: 0.9062 kB / 379.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001534/0.3854, allocations: 0.6694 MB / 380.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3855, allocations: 10.41 kB / 380.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3855, allocations: 1.469 kB / 380.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.3859, allocations: 90.8 kB / 380.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.3863, allocations: 106.7 kB / 380.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.3881, allocations: 1.858 MB / 382.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.3887, allocations: 68.33 kB / 382.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3888, allocations: 11.03 kB / 382.6 MB, free: 13.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (cccvCharger.CV,energy.local_reset,battery.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009049/0.3897, allocations: 0.4905 MB / 383.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3899, allocations: 136.9 kB / 383.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.3902, allocations: 164.6 kB / 383.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3902, allocations: 3.344 kB / 383.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3902, allocations: 4.938 kB / 383.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3902, allocations: 4.047 kB / 383.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3916, allocations: 0.86 MB / 384.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3917, allocations: 0 / 384.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.392, allocations: 76.11 kB / 384.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.3923, allocations: 85.31 kB / 384.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.3924, allocations: 8.25 kB / 384.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.3943, allocations: 1.85 MB / 386.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3943, allocations: 1.891 kB / 386.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.3963, allocations: 0.9021 MB / 387.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.3967, allocations: 250 kB / 387.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.3968, allocations: 9.234 kB / 387.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.3973, allocations: 68.67 kB / 387.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3974, allocations: 32.66 kB / 387.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.3975, allocations: 8.688 kB / 387.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.3995, allocations: 1.093 MB / 388.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.3995, allocations: 0 / 388.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009844/0.4005, allocations: 180.8 kB / 388.8 MB, free: 10.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (battery.limIntegrator.y,battery.capacitor[1].v,battery.capacitor[2].v,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 (22): * Single equations (assignments): 21 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/0.4018, allocations: 466.5 kB / 389.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.4035, allocations: 0.5671 MB / 389.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.4035, allocations: 0.9375 kB / 389.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.4043, allocations: 352.4 kB / 390.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4053, allocations: 184.5 kB / 390.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/0.4103, allocations: 2.827 MB / 393.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.4112, allocations: 1.289 MB / 394.5 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00071/0.4119, allocations: 193.4 kB / 394.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.4121, allocations: 77.67 kB / 394.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of SimCode: time 2.023e-06/0.4121, allocations: 0 / 394.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of Templates: time 0.01706/0.4292, allocations: 9.068 MB / 403.8 MB, free: 15.93 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_17inl.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_17inl.c clang -I. -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -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_CCCVcharging -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -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.CCCVcharging_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCVcharging_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.CCCVcharging.makefile:37: omc_main_target] Error 1