Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 201.9 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008607/0.0008607, allocations: 85.97 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.943e-06, allocations: 4 kB / 343.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 51.49 MB / 394.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.3732, allocations: 94.45 MB / 489.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3735, allocations: 83.27 kB / 489.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.055/1.429, allocations: 272.7 MB / 0.744 GB, free: 44.9 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.003555/1.433, allocations: 265.1 kB / 0.7443 GB, free: 44.9 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1013 * Number of variables: 1013 Notification: Performance of Generate backend data structure: time 0.03062/1.463, allocations: 12.7 MB / 0.7567 GB, free: 41.02 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.463, allocations: 11.06 kB / 0.7567 GB, free: 41.02 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006512/1.47, allocations: 1.745 MB / 0.7584 GB, free: 40.07 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04804/1.518, allocations: 25.6 MB / 0.7834 GB, free: 37.25 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/1.518, allocations: 252.2 kB / 0.7836 GB, free: 37.21 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/1.519, allocations: 241.3 kB / 0.7839 GB, free: 37.21 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007919/1.527, allocations: 5.689 MB / 0.7894 GB, free: 37.19 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00877/1.536, allocations: 6.895 MB / 0.7962 GB, free: 36.42 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/1.536, allocations: 10.66 kB / 0.7962 GB, free: 36.42 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000564/1.537, allocations: 7.469 kB / 0.7962 GB, free: 36.42 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/1.537, allocations: 98.06 kB / 0.7963 GB, free: 36.42 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05598/1.593, allocations: 33.19 MB / 0.8287 GB, free: 29.67 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/1.596, allocations: 2.882 MB / 0.8315 GB, free: 28.79 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/1.6, allocations: 3.489 MB / 0.8349 GB, free: 27.91 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.601, allocations: 27.28 kB / 0.8349 GB, free: 27.91 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/1.601, allocations: 82.69 kB / 0.835 GB, free: 27.84 MB / 442.8 MB Notification: Performance of pre-optimization done (n=231): time 4.369e-06/1.601, allocations: 2.969 kB / 0.835 GB, free: 27.84 MB / 442.8 MB Notification: Performance of matching and sorting (n=231): time 0.00917/1.61, allocations: 5.164 MB / 0.8401 GB, free: 25.9 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/1.61, allocations: 1.297 MB / 0.8413 GB, free: 24.33 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04387/1.654, allocations: 26.76 MB / 0.8675 GB, free: 7.426 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/1.655, allocations: 32.11 kB / 0.8675 GB, free: 7.391 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005761/1.661, allocations: 3.288 MB / 0.8707 GB, free: 4.688 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001999/1.663, allocations: 0.7853 MB / 0.8715 GB, free: 3.965 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.663, allocations: 0 / 0.8715 GB, free: 3.965 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001729/1.663, allocations: 428.7 kB / 0.8719 GB, free: 3.574 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.666, allocations: 2.247 MB / 0.8741 GB, free: 1.621 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/1.67, allocations: 3.41 MB / 0.8774 GB, free: 14.72 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/1.674, allocations: 2.66 MB / 0.88 GB, free: 12.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.674, allocations: 7.719 kB / 0.88 GB, free: 12.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01328/1.687, allocations: 6.748 MB / 0.8866 GB, free: 6.504 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.687, allocations: 8.453 kB / 0.8866 GB, free: 6.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.687, allocations: 16 kB / 0.8866 GB, free: 6.484 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/1.689, allocations: 0.5289 MB / 0.8871 GB, free: 6.031 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.692, allocations: 0.8981 MB / 0.888 GB, free: 5.371 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006692/1.699, allocations: 5.509 MB / 0.8934 GB, free: 448 kB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.706, allocations: 0.6141 MB / 0.894 GB, free: 0 / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.707, allocations: 142.2 kB / 0.8941 GB, free: 0 / 458.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: stack.cell[1,1].n.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real [3,2] stack.cell[3,1].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3,2] cccvCharger.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: 70 * Number of states: 0 () * Number of discrete variables: 14 (cccvCharger.CV,energy.local_reset,stack.cell[3,2].limIntegrator.local_reset,stack.cell[3,2].cell.limIntegrator.local_reset,stack.cell[3,1].limIntegrator.local_reset,stack.cell[3,1].cell.limIntegrator.local_reset,stack.cell[2,2].limIntegrator.local_reset,stack.cell[2,2].cell.limIntegrator.local_reset,stack.cell[2,1].limIntegrator.local_reset,stack.cell[2,1].cell.limIntegrator.local_reset,stack.cell[1,2].limIntegrator.local_reset,stack.cell[1,2].cell.limIntegrator.local_reset,stack.cell[1,1].limIntegrator.local_reset,stack.cell[1,1].cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 307 * 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 {3 38} Notification: Performance of prepare postOptimizeDAE: time 0.0009649/1.708, allocations: 213.3 kB / 0.8943 GB, free: 15.83 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00456/1.713, allocations: 1.512 MB / 0.8958 GB, free: 14.3 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.727, allocations: 6.227 MB / 0.9019 GB, free: 8.949 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.727, allocations: 25.02 kB / 0.9019 GB, free: 8.93 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.727, allocations: 0 / 0.9019 GB, free: 8.93 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.727, allocations: 9.562 kB / 0.9019 GB, free: 8.93 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1891/1.916, allocations: 18.64 MB / 0.9201 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.916, allocations: 0.75 kB / 0.9201 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.919, allocations: 0.7411 MB / 0.9208 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/1.92, allocations: 445.2 kB / 0.9213 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.92, allocations: 44.28 kB / 0.9213 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/1.924, allocations: 4.761 MB / 0.926 GB, free: 110.2 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.924, allocations: 0 / 0.926 GB, free: 110.2 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009882/1.934, allocations: 8.492 MB / 0.9342 GB, free: 109.7 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00906/1.943, allocations: 7.423 MB / 0.9415 GB, free: 105.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003124/1.946, allocations: 42.61 kB / 0.9415 GB, free: 105.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005264/1.952, allocations: 0.6937 MB / 0.9422 GB, free: 105.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007901/1.953, allocations: 387.5 kB / 0.9426 GB, free: 105.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.953, allocations: 64.11 kB / 0.9426 GB, free: 105.1 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.03362/1.986, allocations: 20.62 MB / 0.9628 GB, free: 104.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007283/1.994, allocations: 1.844 MB / 0.9646 GB, free: 104.6 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 25 (stack.cell[1,1].cell.limIntegrator.y,stack.cell[1,1].cell.capacitor[1].v,stack.cell[1,1].cell.capacitor[2].v,stack.cell[1,1].limIntegrator.y,stack.cell[1,2].cell.limIntegrator.y,stack.cell[1,2].cell.capacitor[1].v,stack.cell[1,2].cell.capacitor[2].v,stack.cell[1,2].limIntegrator.y,stack.cell[2,1].cell.limIntegrator.y,stack.cell[2,1].cell.capacitor[1].v,stack.cell[2,1].cell.capacitor[2].v,stack.cell[2,1].limIntegrator.y,stack.cell[2,2].cell.limIntegrator.y,stack.cell[2,2].cell.capacitor[1].v,stack.cell[2,2].cell.capacitor[2].v,stack.cell[2,2].limIntegrator.y,stack.cell[3,1].cell.limIntegrator.y,stack.cell[3,1].cell.capacitor[1].v,stack.cell[3,1].cell.capacitor[2].v,stack.cell[3,1].limIntegrator.y,stack.cell[3,2].cell.limIntegrator.y,stack.cell[3,2].cell.capacitor[1].v,stack.cell[3,2].cell.capacitor[2].v,stack.cell[3,2].limIntegrator.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 200 * 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 {3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.995, allocations: 0.627 MB / 0.9652 GB, free: 104.4 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0056/2.001, allocations: 4.856 MB / 0.9699 GB, free: 104.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/2.001, allocations: 9.625 kB / 0.9699 GB, free: 104.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/2.003, allocations: 2.586 MB / 0.9725 GB, free: 104.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01089/2.014, allocations: 2.078 MB / 0.9745 GB, free: 104.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06796/2.082, allocations: 38.01 MB / 1.012 GB, free: 97.75 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02582/2.108, allocations: 12.49 MB / 1.024 GB, free: 88.06 MB / 474.8 MB Notification: Performance of SimCode: time 9.31e-07/2.108, allocations: 0 / 1.024 GB, free: 88.06 MB / 474.8 MB Notification: Performance of Templates: time 0.2096/2.318, allocations: 107.2 MB / 1.129 GB, free: 2.168 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.makefile clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_functions.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_records.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_01exo.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_02nls.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_03lsy.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_04set.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_05evt.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_06inz.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_07dly.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_08bnd.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_09alg.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_10asr.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_11mix.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_12jac.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_13opt.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_14lnz.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_15syn.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_16dae.c clang -fPIC -falign-functions -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_CCCV_StackRC -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.CCCV_StackRC_17inl.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_17inl.c clang -I. -o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_functions.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_records.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_01exo.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_02nls.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_03lsy.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_04set.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_05evt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_06inz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_07dly.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_08bnd.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_09alg.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_10asr.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_11mix.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_12jac.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_13opt.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_14lnz.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_15syn.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_16dae.o Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_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_CCCV_StackRC -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 -fPIC -falign-functions -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_CCCV_StackRC -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" -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.CCCV_StackRC_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC_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.CCCV_StackRC.makefile:30: omc_main_target] Error 1