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.001186/0.001186, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001098/0.001098, allocations: 187 kB / 17.34 MB, free: 5.734 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.01129/0.01129, allocations: 1.006 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 68.08 kB / 403.6 MB, free: 31.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1285, allocations: 49.65 MB / 453.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.CaseExamples.ElectricalCases): time 0.004517/0.133, allocations: 3.121 MB / 456.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.139, allocations: 3.577 MB / 460 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1392, allocations: 7.938 kB / 460 MB, free: 7.277 MB / 334.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 'KeyWordIO.readLineWithoutCache'. [/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.05172/0.1909, allocations: 9.548 MB / 469.5 MB, free: 14.88 MB / 350.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.2561/0.447, allocations: 44.77 MB / 0.5023 GB, free: 1.844 MB / 382.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.002327/0.4494, allocations: 0.6931 MB / 0.5029 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.393/0.8424, allocations: 2.523 MB / 0.5054 GB, free: 55.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.8458, allocations: 2.608 MB / 0.508 GB, free: 54.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.8477, allocations: 1.074 MB / 0.509 GB, free: 54.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.8494, allocations: 1.327 MB / 0.5103 GB, free: 54.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.8498, allocations: 242.1 kB / 0.5105 GB, free: 54.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.8532, allocations: 1.309 MB / 0.5118 GB, free: 54.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006615/0.8539, allocations: 0.5639 MB / 0.5124 GB, free: 54.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.8555, allocations: 1.185 MB / 0.5135 GB, free: 53.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00602/0.8615, allocations: 4.091 MB / 0.5175 GB, free: 52.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8615, allocations: 1.5 kB / 0.5175 GB, free: 52.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8615, allocations: 0 / 0.5175 GB, free: 52.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.935e-05/0.8616, allocations: 0 / 0.5175 GB, free: 52.2 MB / 382.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.01042/0.872, allocations: 3.576 MB / 0.521 GB, free: 50.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8721, allocations: 9.594 kB / 0.521 GB, free: 50.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/0.8905, allocations: 4.136 MB / 0.525 GB, free: 47.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.8941, allocations: 1.259 MB / 0.5263 GB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.8942, allocations: 173.2 kB / 0.5264 GB, free: 46.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004425/0.8947, allocations: 227.9 kB / 0.5267 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004914/0.8996, allocations: 3.342 MB / 0.5299 GB, free: 42.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.8997, allocations: 15.91 kB / 0.5299 GB, free: 42.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.8999, allocations: 92 kB / 0.53 GB, free: 42.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.9, allocations: 56 kB / 0.5301 GB, free: 42.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004997/0.905, allocations: 4.057 MB / 0.534 GB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/0.9194, allocations: 11.29 MB / 0.5451 GB, free: 26.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006578/0.926, allocations: 8.054 MB / 0.5529 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.9274, allocations: 1.263 MB / 0.5542 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.9275, allocations: 125.2 kB / 0.5543 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.9291, allocations: 1.418 MB / 0.5557 GB, free: 14.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=187): time 3.567e-06/0.9291, allocations: 4 kB / 0.5557 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=187): time 0.006678/0.9358, allocations: 4.701 MB / 0.5603 GB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.9359, allocations: 385.8 kB / 0.5606 GB, free: 9.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9371, allocations: 0.9877 MB / 0.5616 GB, free: 8.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.9372, allocations: 57.7 kB / 0.5617 GB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.9376, allocations: 0.8035 MB / 0.5624 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.938, allocations: 0.6358 MB / 0.5631 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005255/0.9385, allocations: 411.7 kB / 0.5635 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.9386, allocations: 343.5 kB / 0.5638 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.9399, allocations: 1.261 MB / 0.565 GB, free: 5.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.9415, allocations: 1.727 MB / 0.5667 GB, free: 3.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.9443, allocations: 2.955 MB / 0.5696 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9443, allocations: 4 kB / 0.5696 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005803/0.9501, allocations: 3.57 MB / 0.5731 GB, free: 12.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.9502, allocations: 12 kB / 0.5731 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.9502, allocations: 12 kB / 0.5731 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.9519, allocations: 0.5647 MB / 0.5737 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.9537, allocations: 0.5291 MB / 0.5742 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.9647, allocations: 12.52 MB / 0.5864 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.9672, allocations: 389.8 kB / 0.5868 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.9674, allocations: 91.98 kB / 0.5869 GB, free: 13.76 MB / 414.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.001565/0.969, allocations: 0.7875 MB / 0.5876 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.9693, allocations: 114.6 kB / 0.5877 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/0.9743, allocations: 3.134 MB / 0.5908 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.9743, allocations: 24 kB / 0.5908 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.9744, allocations: 4 kB / 0.5908 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.9744, allocations: 11.97 kB / 0.5908 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/0.9837, allocations: 5.986 MB / 0.5967 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/0.9837, allocations: 0 / 0.5967 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.9851, allocations: 403.4 kB / 0.5971 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.9867, allocations: 0.5436 MB / 0.5976 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.9868, allocations: 47.97 kB / 0.5976 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.9976, allocations: 12.46 MB / 0.6098 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9977, allocations: 7.969 kB / 0.6098 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006954/1.005, allocations: 4.606 MB / 0.6143 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/1.005, allocations: 255.2 kB / 0.6146 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/1.006, allocations: 40 kB / 0.6146 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.007, allocations: 219.6 kB / 0.6148 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/1.007, allocations: 133.8 kB / 0.6149 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.007, allocations: 60.03 kB / 0.615 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009271/1.008, allocations: 0.6707 MB / 0.6156 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.008, allocations: 4 kB / 0.6157 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00336/1.012, allocations: 0.9161 MB / 0.6165 GB, free: 14.4 MB / 446.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.001724/1.013, allocations: 0.7825 MB / 0.6173 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005494/1.019, allocations: 3.589 MB / 0.6208 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.019, allocations: 0 / 0.6208 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003212/1.022, allocations: 2.129 MB / 0.6229 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.023, allocations: 146.4 kB / 0.623 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/1.031, allocations: 4.772 MB / 0.6277 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/1.033, allocations: 1.878 MB / 0.6295 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/1.034, allocations: 175.3 kB / 0.6297 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/1.034, allocations: 4 kB / 0.6297 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of Templates: time 0.3529/1.386, allocations: 95.29 MB / 0.7228 GB, free: 157.7 MB / 0.4981 GB make -j1 -f KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.makefile clang++ -std=c++17 -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