Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.403e-05, allocations: 5.406 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.16, allocations: 303.5 MB / 0.631 GB, free: 51.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.16, allocations: 82.39 kB / 0.631 GB, free: 51.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068/2.228, allocations: 226.5 MB / 0.8523 GB, free: 32.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/2.228, allocations: 0 / 0.8523 GB, free: 32.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002665/2.228, allocations: 56 kB / 0.8523 GB, free: 32.27 MB / 458.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.008906/2.237, allocations: 2.46 MB / 0.8547 GB, free: 29.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/2.237, allocations: 12.03 kB / 0.8547 GB, free: 29.66 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001309/2.238, allocations: 295.3 kB / 0.855 GB, free: 29.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/2.24, allocations: 292.8 kB / 0.8553 GB, free: 29.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/2.246, allocations: 1.476 MB / 0.8567 GB, free: 27.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/2.246, allocations: 311.3 kB / 0.857 GB, free: 27.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/2.247, allocations: 216 kB / 0.8572 GB, free: 27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008876/2.256, allocations: 2.688 MB / 0.8599 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/2.257, allocations: 11.88 kB / 0.8599 GB, free: 24.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000553/2.257, allocations: 87.98 kB / 0.86 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/2.257, allocations: 107.6 kB / 0.8601 GB, free: 23.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007298/2.265, allocations: 2.088 MB / 0.8621 GB, free: 21.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/2.288, allocations: 10.15 MB / 0.872 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/2.293, allocations: 2.004 MB / 0.874 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/2.296, allocations: 1.075 MB / 0.875 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/2.309, allocations: 5.554 MB / 0.8805 GB, free: 2.211 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003429/2.313, allocations: 1.492 MB / 0.8819 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=207): time 6.231e-06/2.313, allocations: 4 kB / 0.8819 GB, free: 0.6289 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: tank1.medium.T 2: tank1.level 3: tank2.medium.T 4: tank2.level Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=207): time 0.3426/2.655, allocations: 3.268 MB / 0.8851 GB, free: 75.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/2.656, allocations: 0.7618 MB / 0.8859 GB, free: 74.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/2.659, allocations: 1.441 MB / 0.8873 GB, free: 74.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008279/2.66, allocations: 125 kB / 0.8874 GB, free: 74.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/2.661, allocations: 0.8478 MB / 0.8882 GB, free: 73.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/2.663, allocations: 0.5679 MB / 0.8888 GB, free: 73.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/2.663, allocations: 51.97 kB / 0.8888 GB, free: 73.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/2.663, allocations: 418.4 kB / 0.8892 GB, free: 73.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/2.666, allocations: 0.9026 MB / 0.8901 GB, free: 73.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/2.67, allocations: 1.594 MB / 0.8916 GB, free: 72.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/2.674, allocations: 1.092 MB / 0.8927 GB, free: 72.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.714e-05/2.674, allocations: 5.875 kB / 0.8927 GB, free: 72.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01029/2.684, allocations: 2.897 MB / 0.8955 GB, free: 72.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/2.684, allocations: 108.2 kB / 0.8957 GB, free: 72.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/2.684, allocations: 21.53 kB / 0.8957 GB, free: 72.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/2.687, allocations: 0.5782 MB / 0.8962 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/2.69, allocations: 363.4 kB / 0.8966 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/2.693, allocations: 2.257 MB / 0.8988 GB, free: 70.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/2.697, allocations: 267.8 kB / 0.899 GB, free: 70.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008082/2.698, allocations: 128.2 kB / 0.8992 GB, free: 70.47 MB / 458.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,$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.s1.active,tankController.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,$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.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,$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.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,$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.emptyTank2.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.wait1.active,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,$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.wait2.active,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$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.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,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 (315): * Single equations (assignments): 309 * 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.001106/2.699, allocations: 490.2 kB / 0.8996 GB, free: 70.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008544/2.7, allocations: 210 kB / 0.8998 GB, free: 70.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009951/2.71, allocations: 2.977 MB / 0.9027 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/2.71, allocations: 29.09 kB / 0.9028 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/2.71, allocations: 2.75 kB / 0.9028 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/2.71, allocations: 15 kB / 0.9028 GB, free: 69.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/2.726, allocations: 5.406 MB / 0.9081 GB, free: 69.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/2.726, allocations: 6.906 kB / 0.9081 GB, free: 69.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/2.728, allocations: 233.9 kB / 0.9083 GB, free: 69.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/2.73, allocations: 0.5569 MB / 0.9088 GB, free: 69.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005616/2.731, allocations: 72.39 kB / 0.9089 GB, free: 69.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/2.734, allocations: 2.224 MB / 0.9111 GB, free: 67.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.734, allocations: 7.328 kB / 0.9111 GB, free: 67.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/2.745, allocations: 4.243 MB / 0.9152 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/2.748, allocations: 0.5809 MB / 0.9158 GB, free: 66.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/2.749, allocations: 76.05 kB / 0.9159 GB, free: 66.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/2.752, allocations: 138.1 kB / 0.916 GB, free: 66.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/2.753, allocations: 275.7 kB / 0.9163 GB, free: 66.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004025/2.753, allocations: 97.02 kB / 0.9164 GB, free: 66.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002285/2.756, allocations: 1.012 MB / 0.9173 GB, free: 66.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.756, allocations: 0 / 0.9173 GB, free: 66.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004588/2.76, allocations: 0.7559 MB / 0.9181 GB, free: 66.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.U,tank1.m,tank2.U,tank2.m) * Number of discrete variables: 120 (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.normal.stateGraphRoot.suspend,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,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,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * 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 {4 4,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/2.776, allocations: 6.244 MB / 0.9242 GB, free: 64.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00854/2.784, allocations: 2.678 MB / 0.9268 GB, free: 64.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/2.784, allocations: 5.953 kB / 0.9268 GB, free: 64.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005224/2.79, allocations: 1.581 MB / 0.9283 GB, free: 64.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/2.796, allocations: 0.6847 MB / 0.929 GB, free: 64.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/2.812, allocations: 4.119 MB / 0.933 GB, free: 63.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/2.814, allocations: 1.613 MB / 0.9346 GB, free: 62.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/2.816, allocations: 0.948 MB / 0.9355 GB, free: 62.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/2.816, allocations: 5.844 kB / 0.9355 GB, free: 62.92 MB / 458.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -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:28: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksFunctions.cpp:377:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp209.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:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error 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