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.001165/0.001165, allocations: 112 kB / 16.41 MB, free: 6.039 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.001124/0.001125, allocations: 188.7 kB / 17.34 MB, free: 5.629 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.335/1.335, 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.01044/0.01044, allocations: 1.02 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 403.6 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08955, 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.004459/0.09406, allocations: 3.124 MB / 456.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.09975, allocations: 3.585 MB / 460 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.1, allocations: 4 kB / 460 MB, free: 7.281 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.05318/0.1532, allocations: 9.552 MB / 469.6 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.2572/0.4105, allocations: 44.76 MB / 0.5023 GB, free: 1.855 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.001957/0.4124, allocations: 0.6814 MB / 0.5029 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2148/0.6273, allocations: 2.531 MB / 0.5054 GB, free: 55.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003299/0.6306, allocations: 2.617 MB / 0.508 GB, free: 54.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.6326, allocations: 1.068 MB / 0.509 GB, free: 54.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.6344, allocations: 1.335 MB / 0.5103 GB, free: 54.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.6349, allocations: 241 kB / 0.5105 GB, free: 54.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.6383, allocations: 1.307 MB / 0.5118 GB, free: 54.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.639, allocations: 0.5619 MB / 0.5124 GB, free: 54.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.6408, allocations: 1.182 MB / 0.5135 GB, free: 53.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.6463, allocations: 4.099 MB / 0.5175 GB, free: 52.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6464, allocations: 0 / 0.5175 GB, free: 52.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6464, allocations: 0 / 0.5175 GB, free: 52.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.908e-05/0.6464, allocations: 0 / 0.5175 GB, free: 52.14 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.009712/0.6562, allocations: 3.574 MB / 0.521 GB, free: 50.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6562, allocations: 9.688 kB / 0.521 GB, free: 50.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/0.675, allocations: 4.137 MB / 0.5251 GB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.678, allocations: 1.257 MB / 0.5263 GB, free: 46.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6782, allocations: 173.2 kB / 0.5264 GB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006223/0.6788, allocations: 231.9 kB / 0.5267 GB, free: 45.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.6835, allocations: 3.338 MB / 0.5299 GB, free: 42.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.049e-05/0.6837, allocations: 15.91 kB / 0.5299 GB, free: 42.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.6839, allocations: 92 kB / 0.53 GB, free: 42.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.6839, allocations: 61.62 kB / 0.5301 GB, free: 42.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.689, allocations: 4.061 MB / 0.5341 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.7039, allocations: 11.29 MB / 0.5451 GB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006335/0.7103, allocations: 8.05 MB / 0.5529 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.7117, allocations: 1.266 MB / 0.5542 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.7119, allocations: 124.4 kB / 0.5543 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.7134, allocations: 1.412 MB / 0.5557 GB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=187): time 4.037e-06/0.7134, allocations: 4 kB / 0.5557 GB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=187): time 0.006518/0.7199, allocations: 4.703 MB / 0.5603 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/0.72, allocations: 393.3 kB / 0.5606 GB, free: 9.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.7212, allocations: 0.9838 MB / 0.5616 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.7214, allocations: 61.69 kB / 0.5617 GB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7217, allocations: 0.7991 MB / 0.5624 GB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.722, allocations: 0.6315 MB / 0.5631 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005104/0.7226, allocations: 415.7 kB / 0.5635 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.7226, allocations: 338 kB / 0.5638 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.724, allocations: 1.263 MB / 0.565 GB, free: 5.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.7256, allocations: 1.728 MB / 0.5667 GB, free: 3.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.7284, allocations: 2.951 MB / 0.5696 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.7284, allocations: 4 kB / 0.5696 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005797/0.7342, allocations: 3.58 MB / 0.5731 GB, free: 12.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.7343, allocations: 8 kB / 0.5731 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.7343, allocations: 16 kB / 0.5731 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.7359, allocations: 0.5647 MB / 0.5737 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.7378, allocations: 0.5252 MB / 0.5742 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.7514, allocations: 12.53 MB / 0.5864 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.7538, allocations: 381.5 kB / 0.5868 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.7542, allocations: 92.05 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.001662/0.7558, allocations: 0.7814 MB / 0.5876 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.7562, allocations: 118.6 kB / 0.5877 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/0.7617, allocations: 3.134 MB / 0.5908 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.7617, allocations: 20 kB / 0.5908 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7618, allocations: 8 kB / 0.5908 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.7618, allocations: 7.969 kB / 0.5908 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.7721, allocations: 5.985 MB / 0.5967 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.7721, allocations: 4 kB / 0.5967 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.7736, allocations: 403.3 kB / 0.5971 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.7752, allocations: 0.5397 MB / 0.5976 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.7754, allocations: 47.98 kB / 0.5976 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.7868, allocations: 12.48 MB / 0.6098 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7868, allocations: 3.938 kB / 0.6098 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/0.7941, allocations: 4.602 MB / 0.6143 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.7948, allocations: 263.2 kB / 0.6146 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/0.7951, allocations: 40 kB / 0.6146 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7962, allocations: 215.6 kB / 0.6148 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.7965, allocations: 137.8 kB / 0.6149 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.7967, allocations: 59.98 kB / 0.615 GB, free: 4 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009355/0.7976, allocations: 0.6676 MB / 0.6157 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7976, allocations: 0 / 0.6157 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00323/0.8009, allocations: 0.92 MB / 0.6165 GB, free: 14.41 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.001896/0.8028, allocations: 0.7779 MB / 0.6173 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00569/0.8085, allocations: 3.589 MB / 0.6208 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8085, allocations: 0 / 0.6208 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/0.8113, allocations: 2.125 MB / 0.6229 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.8125, allocations: 158.8 kB / 0.623 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.82, allocations: 4.761 MB / 0.6277 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.8215, allocations: 1.882 MB / 0.6295 GB, free: 1.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008404/0.8224, allocations: 175.3 kB / 0.6297 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.8224, allocations: 0 / 0.6297 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of Templates: time 0.2648/1.087, allocations: 95.05 MB / 0.7225 GB, free: 158 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