Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.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/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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(KeyWordIO.Examples.CaseExamples.ElectricalCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases") translateModel(KeyWordIO.Examples.CaseExamples.ElectricalCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001876/0.001876, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.008815/0.008815, allocations: 0.9989 MB / 291.7 MB, free: 13.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 352.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 49.64 MB / 401.9 MB, free: 35.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.CaseExamples.ElectricalCases): time 0.003421/0.2389, allocations: 3.148 MB / 405 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.2435, allocations: 3.544 MB / 408.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.2438, allocations: 4 kB / 408.6 MB, free: 29.05 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function ‘KeyWordIO.readSizeCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readCaseNumbersCSV.mo:2:1-21:23:writable] Warning: Pure function ‘KeyWordIO.readCaseNumbersCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. Notification: Performance of NFTyping.typeComponents: time 0.1175/0.3613, allocations: 9.428 MB / 418 MB, free: 20.81 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRowsCSV.mo:2:1-18:16:writable] Warning: Pure function ‘KeyWordIO.readRowsCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function ‘KeyWordIO.readColsCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function ‘KeyWordIO.readStringCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function ‘KeyWordIO.readRealCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readCaseColCSV.mo:2:1-48:19:writable] Warning: Pure function ‘KeyWordIO.readCaseColCSV‘ contains a call to impure function ‘KeyWordIO.readRowsCSV‘. Notification: Performance of NFTyping.typeBindings: time 0.2471/0.6085, allocations: 44.39 MB / 462.4 MB, free: 8.191 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/overwriteCaseCSV.mo:2:1-110:21:writable] Warning: Pure function ‘KeyWordIO.overwriteCaseCSV‘ contains a call to impure function ‘KeyWordIO.readCaseNumbersCSV‘. Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.6106, allocations: 0.6444 MB / 463 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.6139, allocations: 2.502 MB / 465.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.6175, allocations: 2.892 MB / 468.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.619, allocations: 1.071 MB / 469.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.6207, allocations: 1.331 MB / 470.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005989/0.6214, allocations: 240 kB / 471.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.6239, allocations: 1.272 MB / 472.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008207/0.6248, allocations: 0.5723 MB / 472.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.6275, allocations: 1.178 MB / 474.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.6318, allocations: 3.294 MB / 477.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6318, allocations: 0 / 477.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6318, allocations: 0 / 477.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.755e-05/0.6318, allocations: 0 / 477.4 MB, free: 9.113 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 582 * Number of variables: 582 Notification: Performance of Generate backend data structure: time 0.009328/0.6412, allocations: 3.584 MB / 481 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6412, allocations: 8.031 kB / 481 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02044/0.6617, allocations: 4.141 MB / 485.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.6644, allocations: 1.25 MB / 486.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.6647, allocations: 165 kB / 486.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009628/0.6657, allocations: 239.8 kB / 486.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006889/0.6726, allocations: 3.342 MB / 490.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.07e-05/0.6727, allocations: 7.906 kB / 490.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.6729, allocations: 96 kB / 490.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.673, allocations: 56 kB / 490.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/0.6794, allocations: 4.058 MB / 494.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.6967, allocations: 11.37 MB / 0.4938 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.7056, allocations: 8.043 MB / 0.5017 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.7075, allocations: 1.267 MB / 0.5029 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.7077, allocations: 127 kB / 0.503 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.7096, allocations: 1.415 MB / 0.5044 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=187): time 4.188e-06/0.7097, allocations: 4 kB / 0.5044 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=187): time 0.1624/0.872, allocations: 4.707 MB / 0.509 GB, free: 103.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8722, allocations: 387.1 kB / 0.5094 GB, free: 103 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.8736, allocations: 0.9752 MB / 0.5103 GB, free: 102.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.8738, allocations: 60.7 kB / 0.5104 GB, free: 102.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.8742, allocations: 0.8161 MB / 0.5112 GB, free: 102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.8746, allocations: 0.6288 MB / 0.5118 GB, free: 101.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005179/0.8751, allocations: 411.5 kB / 0.5122 GB, free: 101.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.8752, allocations: 339.5 kB / 0.5125 GB, free: 101 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.8766, allocations: 1.269 MB / 0.5138 GB, free: 100.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.8782, allocations: 1.723 MB / 0.5154 GB, free: 99.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.881, allocations: 2.954 MB / 0.5183 GB, free: 98.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.881, allocations: 4 kB / 0.5183 GB, free: 98.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004531/0.8856, allocations: 3.564 MB / 0.5218 GB, free: 94.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.8856, allocations: 15.88 kB / 0.5218 GB, free: 94.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.8857, allocations: 16 kB / 0.5218 GB, free: 94.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.8871, allocations: 0.5594 MB / 0.5224 GB, free: 94.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.8887, allocations: 0.5304 MB / 0.5229 GB, free: 93.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/0.8963, allocations: 12.53 MB / 0.5351 GB, free: 80.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.8982, allocations: 388.5 kB / 0.5355 GB, free: 80.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.8984, allocations: 92.03 kB / 0.5356 GB, free: 80.08 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: electrical[6].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] electrical[5].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] electrical[4].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] electrical[3].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] electrical[2].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] electrical[1].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001296/0.8997, allocations: 0.7763 MB / 0.5364 GB, free: 79.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.9, allocations: 122.6 kB / 0.5365 GB, free: 79.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.9043, allocations: 3.136 MB / 0.5395 GB, free: 76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.9044, allocations: 24 kB / 0.5396 GB, free: 75.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.9044, allocations: 4 kB / 0.5396 GB, free: 75.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.9044, allocations: 15.95 kB / 0.5396 GB, free: 75.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007304/0.9117, allocations: 6.052 MB / 0.5455 GB, free: 69.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.9118, allocations: 0 / 0.5455 GB, free: 69.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9131, allocations: 407.3 kB / 0.5459 GB, free: 69.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.9144, allocations: 0.5436 MB / 0.5464 GB, free: 68.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.9146, allocations: 47.98 kB / 0.5465 GB, free: 68.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007718/0.9223, allocations: 12.48 MB / 0.5586 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9223, allocations: 0 / 0.5586 GB, free: 55.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/0.928, allocations: 4.601 MB / 0.5631 GB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.9284, allocations: 255.2 kB / 0.5634 GB, free: 50.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.9287, allocations: 40 kB / 0.5634 GB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9297, allocations: 219.7 kB / 0.5636 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.93, allocations: 137.7 kB / 0.5638 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9301, allocations: 67.98 kB / 0.5638 GB, free: 50.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007145/0.9308, allocations: 0.6629 MB / 0.5645 GB, free: 49.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9309, allocations: 0 / 0.5645 GB, free: 49.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002797/0.9337, allocations: 0.9134 MB / 0.5654 GB, free: 48.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (electrical[6].voltageSource.pin_p.reference.gamma,electrical[5].voltageSource.pin_p.reference.gamma,electrical[4].voltageSource.pin_p.reference.gamma,electrical[3].voltageSource.pin_p.reference.gamma,electrical[2].voltageSource.pin_p.reference.gamma,electrical[1].voltageSource.pin_p.reference.gamma) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/0.9352, allocations: 0.7945 MB / 0.5661 GB, free: 48.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00821/0.9434, allocations: 5.509 MB / 0.5715 GB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.9434, allocations: 0 / 0.5715 GB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.9458, allocations: 2.125 MB / 0.5736 GB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.9469, allocations: 139 kB / 0.5737 GB, free: 40.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.9536, allocations: 5.708 MB / 0.5793 GB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9547, allocations: 1.878 MB / 0.5811 GB, free: 32.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/0.9555, allocations: 187.3 kB / 0.5813 GB, free: 32.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.9555, allocations: 0 / 0.5813 GB, free: 32.32 MB / 382.1 MB Notification: Performance of Templates: time 0.08501/1.041, allocations: 94.82 MB / 0.6739 GB, free: 1.398 MB / 446.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesCalcHelperMain.cpp In file included from OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesCalcHelperMain.cpp:28: ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:23:19: error: cannot initialize return object of type 'const int *' with an rvalue of type 'int' return 1; ^ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:29:19: error: cannot initialize return object of type 'const int *' with an rvalue of type 'int' return 2; ^ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:51:19: error: cannot initialize return object of type 'const int *' with an rvalue of type 'int' return 1; ^ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:57:19: error: cannot initialize return object of type 'const int *' with an rvalue of type 'int' return 2; ^ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:64:19: error: cannot initialize return object of type 'const int *' with an rvalue of type 'int' return 3; ^ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:475:13: warning: expression result unused [-Wunused-value] tmp120; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:481:9: warning: expression result unused [-Wunused-value] tmp125; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:511:13: warning: expression result unused [-Wunused-value] tmp130; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:531:15: warning: expression result unused [-Wunused-value] tmp136; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:537:15: warning: expression result unused [-Wunused-value] tmp138; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:546:11: warning: expression result unused [-Wunused-value] tmp144; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:552:11: warning: expression result unused [-Wunused-value] tmp146; ^~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:1100:17: error: incompatible pointer to integer conversion assigning to 'int' from 'const int *' status__ext = WriteLineLn(fileName_.c_str(), line_.c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesFunctions.cpp:1120:17: error: incompatible pointer to integer conversion assigning to 'int' from 'const int *' status__ext = WriteLine(fileName_.c_str(), line_.c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings and 7 errors generated. make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCasesCalcHelperMain.o] Error 1