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.00157/0.001571, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007804/0.0007805, allocations: 100.2 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.761e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09267, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4193, allocations: 88.15 MB / 483.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4196, allocations: 83.59 kB / 483.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07004/0.4897, allocations: 29.79 MB / 0.5012 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4897, allocations: 0 / 0.5012 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001668/0.4899, allocations: 28 kB / 0.5012 GB, free: 11.85 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.002471/0.4924, allocations: 1.323 MB / 0.5025 GB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4924, allocations: 12.03 kB / 0.5025 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.4928, allocations: 158.9 kB / 0.5026 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.4951, allocations: 1.162 MB / 0.5038 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.4952, allocations: 54.95 kB / 0.5038 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.4953, allocations: 31.94 kB / 0.5039 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000632/0.4959, allocations: 354.5 kB / 0.5042 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.4967, allocations: 0.5493 MB / 0.5047 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4968, allocations: 0 / 0.5047 GB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.4968, allocations: 3.984 kB / 0.5047 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4969, allocations: 12 kB / 0.5047 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004313/0.5012, allocations: 2.817 MB / 0.5075 GB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.5019, allocations: 374.7 kB / 0.5079 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.5024, allocations: 282.2 kB / 0.5081 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.5025, allocations: 4 kB / 0.5081 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.5025, allocations: 42.56 kB / 0.5082 GB, free: 4.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.5025, allocations: 0 / 0.5082 GB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009484/0.5035, allocations: 456.7 kB / 0.5086 GB, free: 4.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.5036, allocations: 261 kB / 0.5088 GB, free: 4.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.5063, allocations: 1.921 MB / 0.5107 GB, free: 2.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.5064, allocations: 25.7 kB / 0.5107 GB, free: 2.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.5069, allocations: 0.6425 MB / 0.5114 GB, free: 1.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.507, allocations: 102.5 kB / 0.5115 GB, free: 1.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.507, allocations: 3.938 kB / 0.5115 GB, free: 1.484 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.5071, allocations: 322 kB / 0.5118 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.5073, allocations: 128.7 kB / 0.5119 GB, free: 1.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.5076, allocations: 255.3 kB / 0.5122 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.5078, allocations: 167.8 kB / 0.5123 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5079, allocations: 0 / 0.5123 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007898/0.5086, allocations: 0.5116 MB / 0.5128 GB, free: 48 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5087, allocations: 9.562 kB / 0.5128 GB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5087, allocations: 0 / 0.5128 GB, free: 40 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.5089, allocations: 56.77 kB / 0.5129 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5093, allocations: 92.08 kB / 0.513 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5107, allocations: 1.517 MB / 0.5144 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.5112, allocations: 55.52 kB / 0.5145 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.5112, allocations: 16.09 kB / 0.5145 GB, free: 14.19 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: battery.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.5114, allocations: 117 kB / 0.5146 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.5116, allocations: 130.4 kB / 0.5147 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008775/0.5125, allocations: 0.496 MB / 0.5152 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.5125, allocations: 4 kB / 0.5152 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5125, allocations: 0 / 0.5152 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5125, allocations: 0 / 0.5152 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.515, allocations: 1.597 MB / 0.5168 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.515, allocations: 0 / 0.5168 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.5153, allocations: 63.95 kB / 0.5169 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.5155, allocations: 48.89 kB / 0.5169 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.5155, allocations: 4 kB / 0.5169 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.5166, allocations: 1.478 MB / 0.5184 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.5167, allocations: 8.016 kB / 0.5184 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5177, allocations: 0.7316 MB / 0.5191 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/0.5183, allocations: 444.4 kB / 0.5195 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.5185, allocations: 4.125 kB / 0.5195 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.519, allocations: 55.95 kB / 0.5196 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.5191, allocations: 31.91 kB / 0.5196 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.5191, allocations: 19.88 kB / 0.5196 GB, free: 8.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00193/0.5211, allocations: 1.466 MB / 0.521 GB, free: 7.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5211, allocations: 0 / 0.521 GB, free: 7.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007612/0.5218, allocations: 215.4 kB / 0.5212 GB, free: 7.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000838/0.5227, allocations: 392.9 kB / 0.5216 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.5234, allocations: 425.9 kB / 0.522 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5234, allocations: 4.125 kB / 0.522 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.5238, allocations: 269.6 kB / 0.5223 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.5245, allocations: 158.7 kB / 0.5224 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.5281, allocations: 2.153 MB / 0.5245 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/0.529, allocations: 1.288 MB / 0.5258 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.5295, allocations: 226.2 kB / 0.526 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.5297, allocations: 75.42 kB / 0.5261 GB, free: 2.039 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5297, allocations: 0 / 0.5261 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.02006/0.5498, allocations: 10.92 MB / 0.5367 GB, free: 7.219 MB / 410.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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib" -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+0xe3): 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