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.0007943/0.0007946, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009427/0.0009428, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005877/0.005878, allocations: 0.9998 MB / 293.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 11.98 kB / 354.5 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 50.63 MB / 405.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.CaseExamples.ElectricalCases): time 0.003077/0.2442, allocations: 2.764 MB / 407.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004766/0.249, allocations: 3.538 MB / 411.4 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.2494, allocations: 6.094 kB / 411.4 MB, free: 6.602 MB / 286.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.1224/0.3718, allocations: 8.301 MB / 419.7 MB, free: 3.605 MB / 286.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.2699/0.6417, allocations: 41.04 MB / 460.8 MB, free: 0.6719 MB / 318.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.001941/0.6437, allocations: 0.6233 MB / 461.4 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002783/0.6465, allocations: 2.373 MB / 463.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00381/0.6503, allocations: 2.662 MB / 466.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.652, allocations: 0.8168 MB / 467.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.6537, allocations: 1.116 MB / 468.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.654, allocations: 104 kB / 468.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.6566, allocations: 1.124 MB / 469.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005278/0.6572, allocations: 394.2 kB / 470 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.6586, allocations: 1.02 MB / 471 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.6625, allocations: 3.195 MB / 474.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6625, allocations: 11.88 kB / 474.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6625, allocations: 0 / 474.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-05/0.6626, allocations: 0 / 474.2 MB, free: 3.129 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 582 * Number of variables: 582 Notification: Performance of Generate backend data structure: time 0.00907/0.6716, allocations: 3.073 MB / 477.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6717, allocations: 12.03 kB / 477.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/0.6929, allocations: 4.153 MB / 481.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.6955, allocations: 1.246 MB / 482.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.6957, allocations: 168.9 kB / 482.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007448/0.6965, allocations: 235.8 kB / 483.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006648/0.7031, allocations: 3.334 MB / 486.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/0.7032, allocations: 7.906 kB / 486.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/0.7036, allocations: 103.9 kB / 486.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.7037, allocations: 64 kB / 486.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006973/0.7106, allocations: 4.054 MB / 490.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01845/0.7291, allocations: 11.42 MB / 0.4903 GB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009031/0.7382, allocations: 8.032 MB / 0.4981 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.7401, allocations: 1.267 MB / 0.4994 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.7403, allocations: 119.1 kB / 0.4995 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.7424, allocations: 1.415 MB / 0.5009 GB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=187): time 4.328e-06/0.7425, allocations: 0 / 0.5009 GB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=187): time 0.008441/0.7509, allocations: 4.733 MB / 0.5055 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.7511, allocations: 393.7 kB / 0.5059 GB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.7525, allocations: 0.98 MB / 0.5068 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7527, allocations: 57.7 kB / 0.5069 GB, free: 4.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.7532, allocations: 0.8017 MB / 0.5076 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.7538, allocations: 0.6354 MB / 0.5083 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.754, allocations: 178 kB / 0.5084 GB, free: 2.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7542, allocations: 338 kB / 0.5088 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.756, allocations: 1.254 MB / 0.51 GB, free: 1.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.7583, allocations: 1.724 MB / 0.5117 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.7622, allocations: 2.954 MB / 0.5146 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.7622, allocations: 4 kB / 0.5146 GB, free: 12.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.006129/0.7684, allocations: 3.568 MB / 0.518 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.7684, allocations: 8 kB / 0.5181 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.7685, allocations: 16 kB / 0.5181 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.7703, allocations: 0.5672 MB / 0.5186 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.7722, allocations: 0.5226 MB / 0.5191 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.7832, allocations: 11.36 MB / 0.5302 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.7852, allocations: 389.5 kB / 0.5306 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/0.7856, allocations: 91.92 kB / 0.5307 GB, free: 10.81 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.001528/0.7871, allocations: 0.7799 MB / 0.5314 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.7875, allocations: 110.7 kB / 0.5316 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005625/0.7931, allocations: 3.142 MB / 0.5346 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.7931, allocations: 24 kB / 0.5346 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.7931, allocations: 4 kB / 0.5346 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.7932, allocations: 11.97 kB / 0.5347 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009744/0.8029, allocations: 6.058 MB / 0.5406 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.803, allocations: 0 / 0.5406 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.8045, allocations: 407.3 kB / 0.541 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.8062, allocations: 0.5436 MB / 0.5415 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.8063, allocations: 47.98 kB / 0.5415 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.8174, allocations: 11.3 MB / 0.5526 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8175, allocations: 7.969 kB / 0.5526 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1702/0.9877, allocations: 4.595 MB / 0.5571 GB, free: 133.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.9882, allocations: 265 kB / 0.5573 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.9886, allocations: 43.45 kB / 0.5574 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.9899, allocations: 212.6 kB / 0.5576 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.9902, allocations: 136.1 kB / 0.5577 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.9904, allocations: 60.84 kB / 0.5578 GB, free: 133.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.9914, allocations: 0.6723 MB / 0.5584 GB, free: 133.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9914, allocations: 3.188 kB / 0.5584 GB, free: 133.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003062/0.9944, allocations: 0.9173 MB / 0.5593 GB, free: 133.7 MB / 430.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.001741/0.9962, allocations: 0.7701 MB / 0.5601 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005425/1.002, allocations: 3.582 MB / 0.5636 GB, free: 132.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.002, allocations: 4.219 kB / 0.5636 GB, free: 132.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/1.005, allocations: 2.125 MB / 0.5656 GB, free: 131.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.006, allocations: 147.5 kB / 0.5658 GB, free: 131.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/1.014, allocations: 5.812 MB / 0.5715 GB, free: 128.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.015, allocations: 1.877 MB / 0.5733 GB, free: 127.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/1.016, allocations: 176.8 kB / 0.5735 GB, free: 127.9 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/1.016, allocations: 3.938 kB / 0.5735 GB, free: 127.9 MB / 430.1 MB Notification: Performance of Templates: time 0.07755/1.094, allocations: 94.59 MB / 0.6658 GB, free: 44.45 MB / 430.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