Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002451/0.002457, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001763, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3347/0.3347, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002438/0.1305, allocations: 1.268 MB / 491.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.1314, allocations: 299.7 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1315, allocations: 0 / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1318, allocations: 15.92 kB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.132, allocations: 39.84 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1324, allocations: 59.84 kB / 492 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1325, allocations: 35.97 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1327, allocations: 8.172 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1327, allocations: 27.84 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.1328, allocations: 11.94 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1328, allocations: 4 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.133, allocations: 35.92 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.1331, allocations: 19.91 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1331, allocations: 33.64 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1333, allocations: 72.17 kB / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1333, allocations: 0 / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1333, allocations: 0 / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1334, allocations: 0 / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000583/0.134, allocations: 371.1 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.134, allocations: 8.031 kB / 492.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1341, allocations: 42.55 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1341, allocations: 11.86 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1344, allocations: 187 kB / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1344, allocations: 4 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1345, allocations: 0 / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1347, allocations: 79.33 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1347, allocations: 0 / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1348, allocations: 4 kB / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1348, allocations: 4 kB / 492.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.135, allocations: 35.97 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1355, allocations: 292.8 kB / 493.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1357, allocations: 70.48 kB / 493.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1358, allocations: 0 / 493.3 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1358, allocations: 30.56 kB / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.1358, allocations: 0 / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009876/0.1368, allocations: 201.4 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1369, allocations: 77.11 kB / 493.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.1371, allocations: 139.7 kB / 493.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1371, allocations: 25.7 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1372, allocations: 158.5 kB / 493.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1373, allocations: 31.64 kB / 494 MB, free: 5.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.1373, allocations: 3.938 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1375, allocations: 314.8 kB / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1376, allocations: 23.98 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1378, allocations: 41.69 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.138, allocations: 39.95 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.138, allocations: 0 / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003678/0.1383, allocations: 97.88 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1384, allocations: 4 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1384, allocations: 4 kB / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1384, allocations: 0 / 494.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1386, allocations: 23.94 kB / 494.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1386, allocations: 4.062 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.1387, allocations: 12 kB / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1388, allocations: 0 / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1389, allocations: 121.8 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.139, allocations: 16.27 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.1394, allocations: 114 kB / 494.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1394, allocations: 0 / 494.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1394, allocations: 11.94 kB / 494.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1395, allocations: 0 / 494.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.1402, allocations: 374.5 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1403, allocations: 0 / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1404, allocations: 19.98 kB / 495.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1404, allocations: 0 / 495.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1404, allocations: 3.953 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1405, allocations: 4 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1405, allocations: 0 / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1409, allocations: 195.4 kB / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.141, allocations: 89 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.141, allocations: 11.94 kB / 495.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1412, allocations: 11.94 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1412, allocations: 4 kB / 495.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1412, allocations: 4 kB / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1414, allocations: 111.2 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.1414, allocations: 0 / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000357/0.1418, allocations: 27.94 kB / 495.6 MB, free: 3.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.1438, allocations: 1.079 MB / 496.7 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.1443, allocations: 75.88 kB / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1443, allocations: 0 / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1445, allocations: 35.98 kB / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1448, allocations: 15.94 kB / 496.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1464, allocations: 0.5931 MB / 497.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1468, allocations: 0.6965 MB / 498.1 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1469, allocations: 31.42 kB / 498.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1469, allocations: 0 / 498.2 MB, free: 0.9883 MB / 330.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:300:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 5 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1