Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadModel(Modelica): time 2.319/2.319, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.017e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 50.4 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03867/0.1631, allocations: 23.43 MB / 368.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.1788, allocations: 6.328 MB / 374.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.181, allocations: 75.56 kB / 374.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003722/0.1848, allocations: 0.8906 MB / 375.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005195/0.1901, allocations: 1.164 MB / 376.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006933/0.197, allocations: 1.602 MB / 378.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005806/0.2029, allocations: 2.24 MB / 380.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.2059, allocations: 1.412 MB / 382.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.2091, allocations: 1.165 MB / 383.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.2117, allocations: 1.079 MB / 384.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2145, allocations: 0.5854 MB / 384.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008702/0.2154, allocations: 124 kB / 385.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.2165, allocations: 0.6037 MB / 385.7 MB, free: 148 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009084/0.2174, allocations: 200 kB / 385.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005791/0.2232, allocations: 3.012 MB / 388.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2233, allocations: 0 / 388.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.2233, allocations: 0 / 388.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.2234, allocations: 0 / 388.9 MB, free: 12.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.00773/0.2311, allocations: 2.364 MB / 391.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2312, allocations: 8.031 kB / 391.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.2327, allocations: 292.9 kB / 391.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.2368, allocations: 1.397 MB / 392.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.2373, allocations: 303.3 kB / 393.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006586/0.2379, allocations: 227.9 kB / 393.4 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/0.246, allocations: 2.734 MB / 396.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.417e-05/0.2461, allocations: 7.938 kB / 396.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.2465, allocations: 91.98 kB / 396.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.2467, allocations: 99.69 kB / 396.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007156/0.2538, allocations: 2.196 MB / 398.6 MB, free: 2.848 MB / 330.7 MB 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.3024/0.5563, allocations: 10.38 MB / 408.9 MB, free: 45.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.5617, allocations: 2.053 MB / 411 MB, free: 44.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.5758, allocations: 5.566 MB / 416.6 MB, free: 40.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003845/0.5797, allocations: 1.518 MB / 418.1 MB, free: 39.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 7.003e-06/0.5797, allocations: 0 / 418.1 MB, free: 39.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=217): time 0.0266/0.6063, allocations: 8.751 MB / 426.8 MB, free: 33.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002666/0.6066, allocations: 0.7707 MB / 427.6 MB, free: 32.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.6095, allocations: 1.459 MB / 429.1 MB, free: 31.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006964/0.6103, allocations: 128.9 kB / 429.2 MB, free: 31.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.6111, allocations: 0.8331 MB / 430 MB, free: 31.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009973/0.6121, allocations: 0.6062 MB / 430.6 MB, free: 30.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.6123, allocations: 50.38 kB / 430.7 MB, free: 30.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6125, allocations: 428.3 kB / 431.1 MB, free: 30.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/0.6154, allocations: 0.9463 MB / 432 MB, free: 29.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.619, allocations: 1.658 MB / 433.7 MB, free: 28.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.6224, allocations: 1.142 MB / 434.8 MB, free: 27.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/0.6225, allocations: 5.875 kB / 434.9 MB, free: 27.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.009161/0.6317, allocations: 3.058 MB / 437.9 MB, free: 24.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6318, allocations: 113.7 kB / 438 MB, free: 24.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/0.6319, allocations: 20 kB / 438 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.6338, allocations: 0.5788 MB / 438.6 MB, free: 24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.6367, allocations: 403.1 kB / 439 MB, free: 23.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.6397, allocations: 2.258 MB / 441.3 MB, free: 21.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.6428, allocations: 175.7 kB / 441.4 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/0.6435, allocations: 124.1 kB / 441.6 MB, free: 20.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition5,$whenCondition4,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition2,$whenCondition1,$whenCondition3,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,tankController.s1.active,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.001978/0.6455, allocations: 0.8056 MB / 442.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6461, allocations: 213.5 kB / 442.6 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008818/0.6549, allocations: 3.074 MB / 445.7 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.655, allocations: 31.98 kB / 445.7 MB, free: 16.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.655, allocations: 7.984 kB / 445.7 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/0.6551, allocations: 11.95 kB / 445.7 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.6702, allocations: 5.523 MB / 451.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.6703, allocations: 0 / 451.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/0.6724, allocations: 247.6 kB / 451.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/0.6742, allocations: 0.5617 MB / 452 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005002/0.6747, allocations: 71.94 kB / 452.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.6775, allocations: 2.229 MB / 454.3 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6775, allocations: 4 kB / 454.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.689, allocations: 4.37 MB / 458.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/0.691, allocations: 0.5646 MB / 459.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009178/0.692, allocations: 83.97 kB / 459.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/0.6946, allocations: 143.8 kB / 459.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009338/0.6955, allocations: 278.9 kB / 459.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/0.6959, allocations: 99.94 kB / 459.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002071/0.698, allocations: 1.008 MB / 460.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.698, allocations: 4 kB / 460.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003542/0.7016, allocations: 0.6883 MB / 461.6 MB, free: 0.6445 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002396/0.704, allocations: 0.8259 MB / 462.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009731/0.7138, allocations: 2.815 MB / 465.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.7139, allocations: 4 kB / 465.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005851/0.7197, allocations: 1.642 MB / 466.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006143/0.7259, allocations: 0.6873 MB / 467.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.742, allocations: 5.211 MB / 472.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.7438, allocations: 1.619 MB / 474.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.7454, allocations: 239.3 kB / 474.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7454, allocations: 3.938 kB / 474.6 MB, free: 3.586 MB / 346.7 MB Notification: Performance of Templates: time 0.1316/0.877, allocations: 64.9 MB / 0.5269 GB, free: 2.746 MB / 410.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp520.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.cpp:1189:47: error: no matching member function for call to 'pre' _shut_P_pre_reset_.assign(_discrete_events->pre(_shut_P_reset_)); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.cpp:1409:47: error: no matching member function for call to 'pre' _stop_P_pre_reset_.assign(_discrete_events->pre(_stop_P_reset_)); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.cpp:1735:48: error: no matching member function for call to 'pre' _start_P_pre_reset_.assign(_discrete_events->pre(_start_P_reset_)); ~~~~~~~~~~~~~~~~~~^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const double' for 1st argument double& pre(const double& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const int' for 1st argument int& pre(const int& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const bool' for 1st argument bool& pre(const bool& var); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/System/DiscreteEvents.h:32:23: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'const std::string' (aka 'const basic_string') for 1st argument std::string & pre(const std::string & var); ^ 4 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanksCalcHelperMain.o] Error 1