Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.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.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 88.39 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.001462/0.001462, 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.83/1.83, allocations: 205.4 MB / 223.4 MB, free: 5.312 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5081/0.5081, allocations: 48.77 MB / 320.4 MB, free: 3.859 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" 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.0005476/0.0005476, allocations: 12 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1311, allocations: 60.26 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator): time 0.8284/0.9596, allocations: 236.8 MB / 0.6721 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.9891, allocations: 17.59 MB / 0.6893 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.9921, allocations: 35.38 kB / 0.6893 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.9951, allocations: 0.6493 MB / 0.69 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/1, allocations: 1.439 MB / 0.6914 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02362/1.024, allocations: 5.809 MB / 0.697 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/1.037, allocations: 12.12 MB / 0.7089 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/1.043, allocations: 2.831 MB / 0.7116 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008174/1.051, allocations: 2.893 MB / 0.7145 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009128/1.06, allocations: 3.865 MB / 0.7182 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002721/1.063, allocations: 310.2 kB / 0.7185 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02318/1.086, allocations: 7.471 MB / 0.7258 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00579/1.092, allocations: 2.621 MB / 0.7284 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004512/1.097, allocations: 1.282 MB / 0.7296 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02388/1.121, allocations: 13.23 MB / 0.7426 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/1.121, allocations: 0 / 0.7426 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.086e-06/1.121, allocations: 0 / 0.7426 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004348/1.121, allocations: 0 / 0.7426 GB, free: 11.16 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: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.0288/1.15, allocations: 6.368 MB / 0.7488 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.15, allocations: 12.02 kB / 0.7488 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/1.17, allocations: 2.883 MB / 0.7516 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/1.181, allocations: 3.84 MB / 0.7554 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/1.181, allocations: 388.6 kB / 0.7557 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/1.185, allocations: 0.6862 MB / 0.7564 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03905/1.225, allocations: 13.86 MB / 0.7699 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003065/1.225, allocations: 2.531 kB / 0.7699 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003381/1.228, allocations: 213.8 kB / 0.7701 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004725/1.229, allocations: 354.9 kB / 0.7705 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04247/1.271, allocations: 16.39 MB / 0.7865 GB, free: 11.06 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.08806/1.359, allocations: 44.78 MB / 0.8302 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.312/1.671, allocations: 22.03 MB / 0.8517 GB, free: 228.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/1.684, allocations: 5.505 MB / 0.8571 GB, free: 228.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1323/1.816, allocations: 81.69 MB / 0.9369 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01929/1.835, allocations: 8.132 MB / 0.9448 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=608): time 1.706e-05/1.835, allocations: 0 / 0.9448 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=609): time 0.1156/1.951, allocations: 41.29 MB / 0.9851 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/1.951, allocations: 0.4977 MB / 0.9856 GB, free: 122 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/1.954, allocations: 1.596 MB / 0.9872 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002357/1.957, allocations: 149.7 kB / 0.9873 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.958, allocations: 1.415 MB / 0.9887 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003811/1.962, allocations: 2.13 MB / 0.9908 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002026/1.964, allocations: 114.1 kB / 0.9909 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000571/1.964, allocations: 0.5298 MB / 0.9914 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009976/1.974, allocations: 5.77 MB / 0.997 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/1.985, allocations: 6.503 MB / 1.003 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.996, allocations: 6.42 MB / 1.01 GB, free: 97.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.393e-05/1.997, allocations: 0 / 1.01 GB, free: 97.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04157/2.038, allocations: 19.07 MB / 1.028 GB, free: 78.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/2.038, allocations: 378.2 kB / 1.029 GB, free: 77.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/2.038, allocations: 8 kB / 1.029 GB, free: 77.53 MB / 0.5919 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.1269/2.165, allocations: 32.87 MB / 1.061 GB, free: 44.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/2.168, allocations: 441.8 kB / 1.061 GB, free: 44.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04972/2.217, allocations: 24.76 MB / 1.085 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007879/2.225, allocations: 0.772 MB / 1.086 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/2.228, allocations: 359.7 kB / 1.086 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/2.228, allocations: 7.953 kB / 1.086 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2869/2.515, allocations: 19.06 MB / 1.105 GB, free: 230.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.893e-05/2.515, allocations: 12.03 kB / 1.105 GB, free: 230.1 MB / 0.5919 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.09553/2.61, allocations: 24.92 MB / 1.129 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/2.613, allocations: 496.6 kB / 1.13 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04655/2.659, allocations: 24.08 MB / 1.153 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007674/2.667, allocations: 0.7641 MB / 1.154 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/2.669, allocations: 359.3 kB / 1.154 GB, free: 217.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.DigitalPI1.firstTrigger,DigitalPI1.firstTrigger,$whenCondition1,DigitalPI1.sampleTrigger,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,DigitalPI1.e,$PRE.DigitalPI1.e_int,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS,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 (221): * Single equations (assignments): 217 * 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 {37 468} Notification: Performance of prepare postOptimizeDAE: time 0.00565/2.675, allocations: 1.834 MB / 1.156 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/2.676, allocations: 353 kB / 1.157 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0463/2.723, allocations: 35.37 MB / 1.191 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.264e-05/2.723, allocations: 99.92 kB / 1.191 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/2.723, allocations: 19.95 kB / 1.191 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000133/2.723, allocations: 27.89 kB / 1.191 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06912/2.792, allocations: 54.72 MB / 1.245 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.569e-05/2.792, allocations: 0 / 1.245 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007866/2.8, allocations: 1.229 MB / 1.246 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/2.813, allocations: 4.763 MB / 1.251 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002678/2.816, allocations: 275.7 kB / 1.251 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04094/2.857, allocations: 51.6 MB / 1.301 GB, free: 71.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.857, allocations: 12.55 kB / 1.301 GB, free: 71.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04114/2.898, allocations: 22.22 MB / 1.323 GB, free: 49.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/2.903, allocations: 1.866 MB / 1.325 GB, free: 47.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001901/2.905, allocations: 211.9 kB / 1.325 GB, free: 47.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006617/2.912, allocations: 0.609 MB / 1.326 GB, free: 46.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001784/2.914, allocations: 468 kB / 1.326 GB, free: 46.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009393/2.915, allocations: 252.4 kB / 1.326 GB, free: 46.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00167/2.916, allocations: 1.205 MB / 1.327 GB, free: 44.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/2.916, allocations: 0 / 1.327 GB, free: 44.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01382/2.93, allocations: 4.153 MB / 1.331 GB, free: 40.85 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 40 (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.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,Plant.WaterInTSensor.y) * Number of discrete variables: 30 (DigitalPI1.sampleTrigger,$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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$whenCondition1,DigitalPI1.firstTrigger,DigitalPI1.e,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 1 (DigitalPI1.e_int) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (544): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 6 * 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.005833/2.936, allocations: 1.582 MB / 1.333 GB, free: 39.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2635/3.2, allocations: 22.13 MB / 1.355 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/3.2, allocations: 6.594 kB / 1.355 GB, free: 225.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/3.218, allocations: 9.835 MB / 1.364 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/3.23, allocations: 1.979 MB / 1.366 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/3.264, allocations: 19.48 MB / 1.385 GB, free: 210 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/3.267, allocations: 3.506 MB / 1.389 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008802/3.276, allocations: 1.819 MB / 1.39 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/3.279, allocations: 339.9 kB / 1.391 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/3.279, allocations: 0 / 1.391 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.5287/3.807, allocations: 322.6 MB / 1.706 GB, free: 98.43 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.makefile Environment - environmentSimulation: make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_functions.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_records.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_01exo.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_02nls.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_03lsy.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_04set.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_05evt.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_06inz.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_07dly.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_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_ClosedLoopDigitalSimulator -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.ClosedLoopDigitalSimulator_08bnd.o ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_08bnd.c ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator_08bnd.c:7833:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp641 = GreaterEq(tmp639,tmp640); ^~~~~~ /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.ClosedLoopDigitalSimulator_08bnd.c:7837:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp643 = modelica_real_to_modelica_string_format(tmp644, (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.ClosedLoopDigitalSimulator_08bnd.c:7873:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp648 = GreaterEq(tmp646,tmp647); ^~~~~~ /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.ClosedLoopDigitalSimulator_08bnd.c:7877:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp650 = modelica_real_to_modelica_string_format(tmp651, (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.ClosedLoopDigitalSimulator_08bnd.o] Error 1