Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 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(ThermoPower.Examples.CISE.Simulators.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 91.69 kB / 16.31 MB, free: 6.008 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.001221/0.001222, allocations: 185.8 kB / 17.21 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 223.4 MB, free: 5.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6634/0.6634, allocations: 48.77 MB / 320.4 MB, free: 3.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.000505, allocations: 16 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 60.25 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180503): time 0.4275/0.5835, allocations: 127.3 MB / 0.5651 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.05079/0.6344, allocations: 38.64 MB / 0.6029 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00508/0.6395, allocations: 59.56 kB / 0.6029 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.6448, allocations: 1.231 MB / 0.6041 GB, free: 5.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.6581, allocations: 3.311 MB / 0.6074 GB, free: 2.617 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3856:5-3857:44:writable] Warning: In relation Plant.Drum.gl == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:3858:5-3859:44:writable] Warning: In relation Plant.Drum.gv == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.03156/0.6897, allocations: 8.989 MB / 0.6161 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.4137/1.103, allocations: 18.07 MB / 0.6338 GB, free: 20.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/1.115, allocations: 4.332 MB / 0.638 GB, free: 20.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01749/1.133, allocations: 4.688 MB / 0.6426 GB, free: 20.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02127/1.154, allocations: 6.342 MB / 0.6488 GB, free: 20.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008362/1.162, allocations: 0.5003 MB / 0.6493 GB, free: 20.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0287/1.191, allocations: 8.666 MB / 0.6577 GB, free: 20.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007981/1.199, allocations: 2.718 MB / 0.6604 GB, free: 20.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007106/1.206, allocations: 1.235 MB / 0.6616 GB, free: 20.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02916/1.235, allocations: 14.23 MB / 0.6755 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/1.236, allocations: 0 / 0.6755 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.38e-06/1.236, allocations: 0 / 0.6755 GB, free: 15.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006299/1.236, allocations: 0 / 0.6755 GB, free: 15.18 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1223 * Number of variables: 1223 Notification: Performance of Generate backend data structure: time 0.05049/1.287, allocations: 12.27 MB / 0.6875 GB, free: 9.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.287, allocations: 9.25 kB / 0.6875 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/1.308, allocations: 2.333 MB / 0.6898 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/1.323, allocations: 4.656 MB / 0.6943 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005122/1.329, allocations: 1.78 MB / 0.696 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004684/1.333, allocations: 0.494 MB / 0.6965 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07276/1.406, allocations: 24.14 MB / 0.7201 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/1.406, allocations: 0 / 0.7201 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/1.411, allocations: 188.8 kB / 0.7203 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/1.411, allocations: 231.7 kB / 0.7205 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09779/1.509, allocations: 36.8 MB / 0.7564 GB, free: 6.125 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1587/1.668, allocations: 76.95 MB / 0.8316 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3819/2.05, allocations: 20.4 MB / 0.8515 GB, free: 247.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03459/2.084, allocations: 13.67 MB / 0.8648 GB, free: 244.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1477/2.232, allocations: 90.97 MB / 0.9537 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/2.232, allocations: 96.81 kB / 0.9538 GB, free: 173 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=584): time 7.464e-06/2.232, allocations: 0 / 0.9538 GB, free: 173 MB / 0.6075 GB Notification: Performance of matching and sorting (n=598): time 0.2544/2.487, allocations: 86.08 MB / 1.038 GB, free: 86.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.487, allocations: 292 kB / 1.038 GB, free: 86.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/2.49, allocations: 2.167 MB / 1.04 GB, free: 84.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00472/2.495, allocations: 137.7 kB / 1.04 GB, free: 84.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009918/2.496, allocations: 1.618 MB / 1.042 GB, free: 82.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00567/2.501, allocations: 2.074 MB / 1.044 GB, free: 80.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002944/2.504, allocations: 120 kB / 1.044 GB, free: 80.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004426/2.505, allocations: 0.5314 MB / 1.045 GB, free: 79.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02999/2.535, allocations: 14.61 MB / 1.059 GB, free: 65.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03079/2.566, allocations: 15.49 MB / 1.074 GB, free: 49.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02851/2.594, allocations: 12.94 MB / 1.087 GB, free: 36.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.593e-05/2.594, allocations: 4 kB / 1.087 GB, free: 36.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.4863/3.081, allocations: 41.06 MB / 1.127 GB, free: 237.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005055/3.081, allocations: 485.1 kB / 1.127 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/3.081, allocations: 11.22 kB / 1.127 GB, free: 237.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4057/3.487, allocations: 111.4 MB / 1.236 GB, free: 175.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03236/3.519, allocations: 6.544 MB / 1.242 GB, free: 168.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0696/3.589, allocations: 36.67 MB / 1.278 GB, free: 132.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02164/3.611, allocations: 3.175 MB / 1.281 GB, free: 129.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006367/3.617, allocations: 0.7215 MB / 1.282 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/3.617, allocations: 1.422 kB / 1.282 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1567/3.774, allocations: 55.7 MB / 1.336 GB, free: 72.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/3.774, allocations: 16.12 kB / 1.336 GB, free: 72.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5583/4.332, allocations: 62.59 MB / 1.398 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04164/4.374, allocations: 6.875 MB / 1.404 GB, free: 234.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0854/4.459, allocations: 34.21 MB / 1.438 GB, free: 204.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0267/4.486, allocations: 3.164 MB / 1.441 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006542/4.493, allocations: 0.7098 MB / 1.441 GB, free: 200.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 28 (Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Pipe2Drum.fluidState[2].phase,Plant.Pipe2Drum.fluidState[1].phase,Plant.Risers.fluidState[7].phase,Plant.Risers.fluidState[6].phase,Plant.Risers.fluidState[5].phase,Plant.Risers.fluidState[4].phase,Plant.Risers.fluidState[3].phase,Plant.Risers.fluidState[2].phase,Plant.Risers.fluidState[1].phase,Plant.Downcomer.fluidState[2].phase,Plant.Downcomer.fluidState[1].phase,Plant.HeaderUpper.fluidState.phase,Plant.HeaderLower.fluidState.phase,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.PressDrop.state.phase,Plant.Valve.fluidState.phase,Plant.Drum.vapourState.phase,Plant.Drum.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 3,1 5,5 69,2 13,16 181} Notification: Performance of prepare postOptimizeDAE: time 0.01261/4.505, allocations: 1.413 MB / 1.443 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004804/4.51, allocations: 421.6 kB / 1.443 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1278/4.638, allocations: 78.96 MB / 1.52 GB, free: 120.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4711/5.109, allocations: 75.07 MB / 1.594 GB, free: 231.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.796e-05/5.109, allocations: 12.69 kB / 1.594 GB, free: 231.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002706/5.11, allocations: 40.33 kB / 1.594 GB, free: 231.1 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2014/5.311, allocations: 118.9 MB / 1.71 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000112/5.311, allocations: 0.6562 kB / 1.71 GB, free: 159.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02024/5.331, allocations: 4.096 MB / 1.714 GB, free: 155.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3813/5.713, allocations: 77.3 MB / 1.789 GB, free: 78.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00494/5.718, allocations: 407.2 kB / 1.79 GB, free: 77.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3566/6.074, allocations: 53.19 MB / 1.842 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/6.074, allocations: 0 / 1.842 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1377/6.212, allocations: 57.85 MB / 1.898 GB, free: 209.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009181/6.221, allocations: 2.872 MB / 1.901 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005255/6.227, allocations: 150 kB / 1.901 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01931/6.246, allocations: 3.096 MB / 1.904 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005191/6.251, allocations: 0.7374 MB / 1.905 GB, free: 207.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004513/6.256, allocations: 409.1 kB / 1.905 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003245/6.259, allocations: 1.461 MB / 1.907 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.61e-07/6.259, allocations: 0 / 1.907 GB, free: 206.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.03327/6.292, allocations: 5.256 MB / 1.912 GB, free: 201.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 41 (Plant.Drum.p,Plant.Drum.hl,Plant.Drum.hv,Plant.Drum.Tm,Plant.Drum.y,Plant.Downcomer.htilde[1],Plant.Risers.p,Plant.Risers.htilde[1],Plant.Risers.htilde[2],Plant.Risers.htilde[3],Plant.Risers.htilde[4],Plant.Risers.htilde[5],Plant.Risers.htilde[6],Plant.Pipe2Drum.htilde[1],Plant.Pipe2SH.p,Plant.Pipe2SH.htilde[1],Plant.SH.htilde[1],Plant.SH.htilde[2],Plant.SH.htilde[3],Plant.SH.htilde[4],Plant.Pipe2Valve.p,Plant.Pipe2Valve.htilde[1],Plant.HeaderLower.p,Plant.HeaderLower.h,Plant.HeaderLower.Tm,Plant.HeaderUpper.h,Plant.HeaderUpper.Tm,Plant.DowncomerWall.Tvol[1],Plant.RisersWalls.Tvol[1],Plant.RisersWalls.Tvol[2],Plant.RisersWalls.Tvol[3],Plant.RisersWalls.Tvol[4],Plant.RisersWalls.Tvol[5],Plant.RisersWalls.Tvol[6],Plant.Pipe2DrumWall.Tvol[1],Plant.Pipe2SHWall.Tvol[1],Plant.SHWall.Tvol[1],Plant.SHWall.Tvol[2],Plant.SHWall.Tvol[3],Plant.SHWall.Tvol[4],Plant.Pipe2ValveWall.Tvol[1]) * Number of discrete variables: 68 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.region3boundary,$cse37.region3boundary,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.region3boundary,$cse47.region3boundary,$cse50.region3boundary,$cse51.region3boundary,$cse52.phase,$cse52.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (540): * Single equations (assignments): 468 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 47 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,77.8%) 6,(1,100.0%) 1,(9,58.0%) 18,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 11,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 5 {4 4,1 2,1 22,1 12,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/6.306, allocations: 1.645 MB / 1.913 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.1198/6.426, allocations: 50.45 MB / 1.963 GB, free: 152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/6.426, allocations: 4.562 kB / 1.963 GB, free: 152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.04608/6.472, allocations: 19.7 MB / 1.982 GB, free: 132.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02398/6.496, allocations: 1.952 MB / 1.984 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0722/6.568, allocations: 32.09 MB / 2.015 GB, free: 98.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006453/6.575, allocations: 3.778 MB / 2.019 GB, free: 94.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.02705/6.602, allocations: 11.53 MB / 2.03 GB, free: 82.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/6.613, allocations: 0.8183 MB / 2.031 GB, free: 81.9 MB / 0.6075 GB Notification: Performance of SimCode: time 2.454e-06/6.614, allocations: 4 kB / 2.031 GB, free: 81.89 MB / 0.6075 GB Notification: Performance of Templates: time 1.067/7.68, allocations: 465.6 MB / 2.486 GB, free: 70.21 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.makefile Environment - environmentSimulation: make -j1 -f ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_functions.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_records.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_01exo.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_02nls.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_03lsy.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_04set.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_05evt.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_06inz.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_07dly.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_CISE_Simulators_CISESim180503 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=18 -DOMC_NUM_NONLINEAR_SYSTEMS=19 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.o ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4214:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp170 = GreaterEq(tmp168,tmp169); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4218:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp172 = modelica_real_to_modelica_string_format(tmp173, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4254:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp177 = GreaterEq(tmp175,tmp176); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4258:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp179 = modelica_real_to_modelica_string_format(tmp180, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4776:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp243 = GreaterEq(tmp241,tmp242); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4780:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp245 = modelica_real_to_modelica_string_format(tmp246, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4816:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp250 = GreaterEq(tmp248,tmp249); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.c:4820:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp252 = modelica_real_to_modelica_string_format(tmp253, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ 8 errors generated. make: *** [: ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim180503_08bnd.o] Error 1