Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.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.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001112/0.001112, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.862/1.862, allocations: 205.4 MB / 223.4 MB, free: 5.309 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5234/0.5234, allocations: 48.78 MB / 320.4 MB, free: 3.867 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.0005268/0.000527, allocations: 15.98 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 60.27 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator): time 0.8043/0.9356, allocations: 236.8 MB / 0.6721 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02308/0.9587, allocations: 17.52 MB / 0.6892 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.9621, allocations: 31.16 kB / 0.6892 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.9648, allocations: 0.6496 MB / 0.6898 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.9708, allocations: 1.434 MB / 0.6912 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02812/0.999, allocations: 5.786 MB / 0.6969 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01352/1.013, allocations: 12.06 MB / 0.7087 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/1.019, allocations: 2.823 MB / 0.7114 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008385/1.028, allocations: 2.875 MB / 0.7142 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009622/1.038, allocations: 3.842 MB / 0.718 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00312/1.041, allocations: 306.4 kB / 0.7183 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02622/1.067, allocations: 7.477 MB / 0.7256 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.006684/1.074, allocations: 2.616 MB / 0.7281 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005558/1.079, allocations: 1.267 MB / 0.7294 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02673/1.106, allocations: 13.2 MB / 0.7423 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.106, allocations: 0 / 0.7423 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.695e-06/1.106, allocations: 0 / 0.7423 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004649/1.107, allocations: 0 / 0.7423 GB, free: 11.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1369 * Number of variables: 1369 Notification: Performance of Generate backend data structure: time 0.027/1.134, allocations: 6.282 MB / 0.7484 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.134, allocations: 8.031 kB / 0.7484 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/1.153, allocations: 2.876 MB / 0.7512 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/1.166, allocations: 3.835 MB / 0.755 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/1.166, allocations: 387.5 kB / 0.7553 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00496/1.171, allocations: 0.6845 MB / 0.756 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04366/1.215, allocations: 13.81 MB / 0.7695 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/1.215, allocations: 0 / 0.7695 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003948/1.219, allocations: 221.1 kB / 0.7697 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005498/1.22, allocations: 355.1 kB / 0.77 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04282/1.263, allocations: 16.34 MB / 0.786 GB, free: 11.49 MB / 0.545 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.09059/1.353, allocations: 44.73 MB / 0.8297 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3032/1.656, allocations: 21.95 MB / 0.8511 GB, free: 230.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01125/1.668, allocations: 5.469 MB / 0.8565 GB, free: 230 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1394/1.807, allocations: 81.69 MB / 0.9362 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/1.807, allocations: 111.9 kB / 0.9363 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=603): time 2.042e-05/1.807, allocations: 0 / 0.9363 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=604): time 0.1096/1.917, allocations: 40.1 MB / 0.9755 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.917, allocations: 141.8 kB / 0.9756 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/1.92, allocations: 1.575 MB / 0.9772 GB, free: 131 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002417/1.923, allocations: 141.7 kB / 0.9773 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009114/1.924, allocations: 1.385 MB / 0.9787 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003813/1.927, allocations: 2.107 MB / 0.9807 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/1.929, allocations: 112 kB / 0.9808 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0005844/1.93, allocations: 0.5258 MB / 0.9813 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/1.94, allocations: 5.727 MB / 0.9869 GB, free: 121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.951, allocations: 6.349 MB / 0.9931 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.963, allocations: 6.363 MB / 0.9993 GB, free: 108.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-05/1.963, allocations: 4 kB / 0.9993 GB, free: 108.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.04545/2.008, allocations: 18.94 MB / 1.018 GB, free: 89.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/2.008, allocations: 356.2 kB / 1.018 GB, free: 88.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/2.008, allocations: 9.5 kB / 1.018 GB, free: 88.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1235/2.132, allocations: 32.7 MB / 1.05 GB, free: 56.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/2.134, allocations: 470 kB / 1.051 GB, free: 55.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04626/2.181, allocations: 24.49 MB / 1.074 GB, free: 30.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007586/2.188, allocations: 0.7446 MB / 1.075 GB, free: 30.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/2.191, allocations: 359.7 kB / 1.076 GB, free: 29.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/2.191, allocations: 4 kB / 1.076 GB, free: 29.85 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03919/2.23, allocations: 18.3 MB / 1.093 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-05/2.23, allocations: 8 kB / 1.093 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3419/2.572, allocations: 24.69 MB / 1.118 GB, free: 231.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/2.574, allocations: 0.5268 MB / 1.118 GB, free: 231.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04529/2.62, allocations: 23.8 MB / 1.141 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007803/2.628, allocations: 0.727 MB / 1.142 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/2.63, allocations: 360.9 kB / 1.142 GB, free: 222.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 460} Notification: Performance of prepare postOptimizeDAE: time 0.006414/2.636, allocations: 1.822 MB / 1.144 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002274/2.638, allocations: 348.7 kB / 1.144 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04642/2.685, allocations: 35.19 MB / 1.179 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.346e-05/2.685, allocations: 91.94 kB / 1.179 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.319e-05/2.685, allocations: 16 kB / 1.179 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001549/2.685, allocations: 43.83 kB / 1.179 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07446/2.76, allocations: 54.18 MB / 1.232 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.099e-05/2.76, allocations: 7.953 kB / 1.232 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008863/2.769, allocations: 1.231 MB / 1.233 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/2.782, allocations: 4.77 MB / 1.238 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002205/2.785, allocations: 271.8 kB / 1.238 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04186/2.827, allocations: 51.63 MB / 1.288 GB, free: 85.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.827, allocations: 0 / 1.288 GB, free: 85.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04479/2.871, allocations: 22.02 MB / 1.31 GB, free: 63.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005516/2.877, allocations: 1.827 MB / 1.312 GB, free: 61.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002733/2.88, allocations: 207.9 kB / 1.312 GB, free: 61.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007631/2.887, allocations: 0.5927 MB / 1.312 GB, free: 60.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003167/2.891, allocations: 460 kB / 1.313 GB, free: 60.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002362/2.893, allocations: 255.7 kB / 1.313 GB, free: 60.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001997/2.895, allocations: 1.14 MB / 1.314 GB, free: 59.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/2.895, allocations: 0 / 1.314 GB, free: 59.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01781/2.913, allocations: 4.106 MB / 1.318 GB, free: 55.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,TempController.x) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (539): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(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,(1,100.0%) 1,(11,62.8%) 20,(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,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008065/2.921, allocations: 1.573 MB / 1.32 GB, free: 53.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2683/3.189, allocations: 21.79 MB / 1.341 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/3.189, allocations: 5.469 kB / 1.341 GB, free: 224.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0186/3.208, allocations: 9.782 MB / 1.351 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/3.219, allocations: 1.949 MB / 1.353 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/3.252, allocations: 19.34 MB / 1.371 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004639/3.257, allocations: 3.459 MB / 1.375 GB, free: 212.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009344/3.266, allocations: 1.821 MB / 1.377 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/3.269, allocations: 343.7 kB / 1.377 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/3.269, allocations: 2.844 kB / 1.377 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.5369/3.806, allocations: 319.8 MB / 1.689 GB, free: 114.9 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.makefile Environment - environmentSimulation: make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator.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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_functions.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_records.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_01exo.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_02nls.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_03lsy.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_04set.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_05evt.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_06inz.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_07dly.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_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_HRB_Simulators_ClosedLoopSimulator -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=22 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_08bnd.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_08bnd.c ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_08bnd.c:7614:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp619 = GreaterEq(tmp617,tmp618); ^~~~~~ /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.HRB.Simulators.ClosedLoopSimulator_08bnd.c:7618:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp621 = modelica_real_to_modelica_string_format(tmp622, (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.HRB.Simulators.ClosedLoopSimulator_08bnd.c:7654:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp626 = GreaterEq(tmp624,tmp625); ^~~~~~ /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.HRB.Simulators.ClosedLoopSimulator_08bnd.c:7658:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp628 = modelica_real_to_modelica_string_format(tmp629, (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); ^ 4 errors generated. make: *** [: ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator_08bnd.o] Error 1