Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge") translateModel(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 115.9 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 182 kB / 17.36 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.108/1.108, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02402/0.02402, allocations: 5.398 MB / 296.6 MB, free: 9.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.347e-05, allocations: 2.281 kB / 409.9 MB, free: 26.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SolarPyramidBatteryCharge): time 0.008475/0.008497, allocations: 14.19 MB / 424.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.01372, allocations: 4.182 MB / 428.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.01542, allocations: 51.88 kB / 428.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.01663, allocations: 0.6702 MB / 429 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.01831, allocations: 1.051 MB / 430.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01941, allocations: 1.147 MB / 431.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.02204, allocations: 5.149 MB / 436.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.02351, allocations: 1.204 MB / 437.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.02488, allocations: 1.69 MB / 439.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.02632, allocations: 1.887 MB / 441.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.02683, allocations: 0.582 MB / 441.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008423/0.02768, allocations: 0.7224 MB / 442.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003434/0.03113, allocations: 5.749 MB / 448.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001639/0.03277, allocations: 3.288 MB / 451.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.03336, allocations: 0.6351 MB / 452.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003936/0.03377, allocations: 119.4 kB / 452.2 MB, free: 15.45 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 702 (686) * Number of variables: 702 (702) Notification: Performance of Bindings: time 0.009767/0.04354, allocations: 13.27 MB / 465.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001434/0.04498, allocations: 1.735 MB / 467.2 MB, free: 92 kB / 334.1 MB Notification: Performance of Early Inline: time 0.00712/0.05211, allocations: 8.747 MB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplify1: time 0.00116/0.05328, allocations: 1.185 MB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of Alias: time 0.01487/0.06816, allocations: 13.45 MB / 490.6 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simplify2: time 0.0005987/0.06877, allocations: 0.6479 MB / 491.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of Detect States: time 0.00107/0.06985, allocations: 1.272 MB / 492.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of Events: time 0.0009337/0.07079, allocations: 0.9913 MB / 493.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001318/0.07212, allocations: 1.334 MB / 494.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Causalize: time 0.006181/0.07831, allocations: 5.429 MB / 0.4886 GB, free: 13.41 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.003341/0.08166, allocations: 3.848 MB / 0.4923 GB, free: 9.504 MB / 382.1 MB Notification: Performance of Inline: time 0.1291/0.2107, allocations: 10 MB / 0.5021 GB, free: 65.57 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0005554/0.2113, allocations: 196.5 kB / 0.5023 GB, free: 65.44 MB / 382.1 MB Notification: Performance of Cleanup: time 0.001909/0.2132, allocations: 1.661 MB / 0.5039 GB, free: 65.44 MB / 382.1 MB Notification: Performance of Causalize: time 0.02583/0.2391, allocations: 22.44 MB / 0.5258 GB, free: 56.54 MB / 382.1 MB Notification: Performance of Tearing: time 0.0006644/0.2398, allocations: 1.286 MB / 0.5271 GB, free: 55.3 MB / 382.1 MB Notification: Performance of Initialization: time 1.092e-06/0.2398, allocations: 4 kB / 0.5271 GB, free: 55.3 MB / 382.1 MB Notification: Performance of Tearing: time 1.241e-05/0.2398, allocations: 4 kB / 0.5271 GB, free: 55.3 MB / 382.1 MB Notification: Performance of Categorize: time 1.045e-05/0.2398, allocations: 10.19 kB / 0.5271 GB, free: 55.29 MB / 382.1 MB Notification: Performance of Solve: time 0.003048/0.2429, allocations: 4.063 MB / 0.531 GB, free: 52.41 MB / 382.1 MB Notification: Performance of Jacobian: time 0.001374/0.2442, allocations: 1.722 MB / 0.5327 GB, free: 51.43 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {solarPyramid.dcConverter1.converter.powerSensor.currentSensor.i, solarPyramid.dcConverter2.converter.powerSensor.currentSensor.i, solarPyramid.dcConverter3.converter.powerSensor.currentSensor.i, solarPyramid.dcConverter4.converter.powerSensor.currentSensor.i} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 62 (62) {solarPyramid.dcConverter1.mpTracker.firstTrigger, solarPyramid.dcConverter1.mpTracker.sampleTrigger, solarPyramid.dcConverter1.mpTracker.counter, solarPyramid.dcConverter1.mpTracker.signv, solarPyramid.dcConverter1.mpTracker.vRef, solarPyramid.dcConverter2.mpTracker.firstTrigger, solarPyramid.dcConverter2.mpTracker.sampleTrigger, solarPyramid.dcConverter2.mpTracker.counter, solarPyramid.dcConverter2.mpTracker.signv, solarPyramid.dcConverter2.mpTracker.vRef, solarPyramid.dcConverter3.mpTracker.firstTrigger, solarPyramid.dcConverter3.mpTracker.sampleTrigger, solarPyramid.dcConverter3.mpTracker.counter, solarPyramid.dcConverter3.mpTracker.signv, solarPyramid.dcConverter3.mpTracker.vRef, solarPyramid.dcConverter4.mpTracker.firstTrigger, solarPyramid.dcConverter4.mpTracker.sampleTrigger, solarPyramid.dcConverter4.mpTracker.counter, solarPyramid.dcConverter4.mpTracker.signv, solarPyramid.dcConverter4.mpTracker.vRef, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_19, $TEV_17, $TEV_16, $TEV_15, $TEV_13, $TEV_11, $TEV_10, $TEV_9, $TEV_7, $TEV_5, $TEV_4, $TEV_3, $TEV_1} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 283 (scalar:283, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 529 (scalar:529, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:5) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 8 (linear: 4, nonlinear:4) Notification: Performance of backend: time 0.0001222/0.2444, allocations: 134.9 kB / 0.5329 GB, free: 51.39 MB / 382.1 MB Notification: Performance of SimCode: time 0.00679/0.2512, allocations: 11.88 MB / 0.5445 GB, free: 42.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02545/0.2766, allocations: 22.2 MB / 0.5661 GB, free: 19.99 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_functions.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_records.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_01exo.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_02nls.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_03lsy.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_04set.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_05evt.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_07dly.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_08bnd.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_09alg.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_10asr.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_11mix.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_12jac.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_13opt.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_14lnz.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_15syn.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_16dae.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_16dae.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_17inl.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_17inl.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_18spd.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_18spd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part0.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part0.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:1215:107: warning: implicit declaration of function 'sample' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->booleanVars[1] /* solarPyramid.dcConverter1.mpTracker.sampleTrigger DISCRETE */) = sample((data->simulationInfo->realParameter[227] /* solarPyramid.dcConverter1.mpTracker.startTime PARAM */), (data->simulationInfo->realParameter[228] /* solarPyramid.dcConverter1.mpTracker.samplePeriod PARAM */)); ^ PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:1502:107: warning: implicit declaration of function 'sample' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->booleanVars[3] /* solarPyramid.dcConverter2.mpTracker.sampleTrigger DISCRETE */) = sample((data->simulationInfo->realParameter[244] /* solarPyramid.dcConverter2.mpTracker.startTime PARAM */), (data->simulationInfo->realParameter[245] /* solarPyramid.dcConverter2.mpTracker.samplePeriod PARAM */)); ^ PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:1789:107: warning: implicit declaration of function 'sample' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->booleanVars[5] /* solarPyramid.dcConverter3.mpTracker.sampleTrigger DISCRETE */) = sample((data->simulationInfo->realParameter[261] /* solarPyramid.dcConverter3.mpTracker.startTime PARAM */), (data->simulationInfo->realParameter[262] /* solarPyramid.dcConverter3.mpTracker.samplePeriod PARAM */)); ^ PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:2076:107: warning: implicit declaration of function 'sample' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->booleanVars[7] /* solarPyramid.dcConverter4.mpTracker.sampleTrigger DISCRETE */) = sample((data->simulationInfo->realParameter[278] /* solarPyramid.dcConverter4.mpTracker.startTime PARAM */), (data->simulationInfo->realParameter[279] /* solarPyramid.dcConverter4.mpTracker.samplePeriod PARAM */)); ^ 4 warnings generated. clang -I. -o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_functions.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_records.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_01exo.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_02nls.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_03lsy.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_04set.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_05evt.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_07dly.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_08bnd.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_09alg.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_10asr.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_11mix.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_12jac.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_13opt.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_14lnz.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_15syn.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_16dae.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_17inl.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_18spd.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part0.o PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/Examples" -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -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 -lryu -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o: in function `PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge_eqFunction_187': PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:(.text+0x3554): undefined reference to `sample' /usr/bin/ld: PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o: in function `PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge_eqFunction_165': PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:(.text+0x382d): undefined reference to `sample' /usr/bin/ld: PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o: in function `PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge_eqFunction_143': PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:(.text+0x3b06): undefined reference to `sample' /usr/bin/ld: PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.o: in function `PhotoVoltaics_PhotoVoltaics_Examples_SolarPyramidBatteryCharge_eqFunction_121': PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge_06inz_part1.c:(.text+0x3ddf): undefined reference to `sample' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge.makefile:39: omc_main_target] Error 1