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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000847/0.000847, allocations: 97.33 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09585/0.2904, allocations: 88.89 MB / 498.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.2906, allocations: 75.97 kB / 498.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2303/0.521, allocations: 30.28 MB / 0.5163 GB, free: 92.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.521, allocations: 0 / 0.5163 GB, free: 92.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.5212, allocations: 23.44 kB / 0.5163 GB, free: 92.09 MB / 378.7 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.003205/0.5244, allocations: 1.668 MB / 0.5179 GB, free: 91.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5245, allocations: 13.41 kB / 0.5179 GB, free: 91.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.5249, allocations: 161.3 kB / 0.5181 GB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.5271, allocations: 1.161 MB / 0.5192 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.5272, allocations: 80.05 kB / 0.5193 GB, free: 90.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.5272, allocations: 46.22 kB / 0.5193 GB, free: 90.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.5282, allocations: 0.6508 MB / 0.52 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5282, allocations: 0 / 0.52 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.5283, allocations: 23.03 kB / 0.52 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5283, allocations: 10.31 kB / 0.52 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.5289, allocations: 424.7 kB / 0.5204 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.5326, allocations: 2.922 MB / 0.5233 GB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.5335, allocations: 454.6 kB / 0.5237 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.5335, allocations: 4.5 kB / 0.5237 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5336, allocations: 38.56 kB / 0.5237 GB, free: 87.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.5336, allocations: 0 / 0.5237 GB, free: 87.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001768/0.5354, allocations: 0.8595 MB / 0.5246 GB, free: 86.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.5354, allocations: 269 kB / 0.5248 GB, free: 86.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.5375, allocations: 2.035 MB / 0.5268 GB, free: 84.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5375, allocations: 33.7 kB / 0.5269 GB, free: 84.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.5379, allocations: 0.6429 MB / 0.5275 GB, free: 83.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.538, allocations: 102.4 kB / 0.5276 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.538, allocations: 12 kB / 0.5276 GB, free: 83.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.5381, allocations: 322 kB / 0.5279 GB, free: 83.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.5383, allocations: 168.6 kB / 0.5281 GB, free: 82.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.5387, allocations: 308.5 kB / 0.5283 GB, free: 82.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.539, allocations: 204 kB / 0.5285 GB, free: 82.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.539, allocations: 4 kB / 0.5285 GB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008833/0.5399, allocations: 0.6481 MB / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5399, allocations: 8 kB / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5399, allocations: 0 / 0.5292 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.5402, allocations: 96.91 kB / 0.5293 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.5406, allocations: 87.88 kB / 0.5294 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.542, allocations: 1.858 MB / 0.5312 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.5424, allocations: 59.86 kB / 0.5312 GB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5424, allocations: 12 kB / 0.5312 GB, free: 79.46 MB / 378.7 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.0004296/0.5429, allocations: 499.6 kB / 0.5317 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.543, allocations: 138.2 kB / 0.5319 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.544, allocations: 0.61 MB / 0.5325 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5441, allocations: 4 kB / 0.5325 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.5441, allocations: 0 / 0.5325 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5441, allocations: 3.984 kB / 0.5325 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/0.5449, allocations: 0.984 MB / 0.5334 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5449, allocations: 4 kB / 0.5334 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.5452, allocations: 59.95 kB / 0.5335 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.5454, allocations: 88.69 kB / 0.5336 GB, free: 77.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.5455, allocations: 19.98 kB / 0.5336 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.5468, allocations: 1.844 MB / 0.5354 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5468, allocations: 0 / 0.5354 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.548, allocations: 0.8828 MB / 0.5362 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/0.5487, allocations: 456.2 kB / 0.5367 GB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5488, allocations: 19.92 kB / 0.5367 GB, free: 73.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.5492, allocations: 59.95 kB / 0.5368 GB, free: 73.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.5493, allocations: 23.95 kB / 0.5368 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.5493, allocations: 8 kB / 0.5368 GB, free: 73.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.5508, allocations: 1.58 MB / 0.5383 GB, free: 71.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5508, allocations: 0 / 0.5383 GB, free: 71.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006715/0.5515, allocations: 255.5 kB / 0.5386 GB, free: 71.69 MB / 378.7 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.0008391/0.5524, allocations: 428.4 kB / 0.539 GB, free: 71.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008657/0.5532, allocations: 0.5337 MB / 0.5395 GB, free: 70.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5533, allocations: 0 / 0.5395 GB, free: 70.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.5537, allocations: 344.7 kB / 0.5398 GB, free: 70.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.5544, allocations: 190.1 kB / 0.54 GB, free: 70.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.5575, allocations: 2.992 MB / 0.5429 GB, free: 67.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.5581, allocations: 1.284 MB / 0.5442 GB, free: 65.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.5585, allocations: 239.8 kB / 0.5444 GB, free: 65.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.5587, allocations: 71.44 kB / 0.5445 GB, free: 65.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5587, allocations: 0 / 0.5445 GB, free: 65.66 MB / 378.7 MB Notification: Performance of Templates: time 0.0197/0.5784, allocations: 15.32 MB / 0.5594 GB, free: 50.43 MB / 378.7 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: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25a5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /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+0xf4): 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:32: omc_main_target] Error 1