Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002284/0.002284, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.132e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09509, allocations: 47.57 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9689/1.064, allocations: 301.7 MB / 0.6552 GB, free: 22.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.064, allocations: 84.14 kB / 0.6552 GB, free: 22.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302/2.367, allocations: 221.5 MB / 0.8716 GB, free: 63.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/2.367, allocations: 3.5 kB / 0.8716 GB, free: 63.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002738/2.367, allocations: 57.66 kB / 0.8716 GB, free: 63.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.008965/2.376, allocations: 2.356 MB / 0.8739 GB, free: 62.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/2.376, allocations: 12.09 kB / 0.8739 GB, free: 62.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/2.377, allocations: 293.3 kB / 0.8742 GB, free: 62.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/2.379, allocations: 285.9 kB / 0.8745 GB, free: 61.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/2.384, allocations: 1.458 MB / 0.8759 GB, free: 61.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/2.385, allocations: 301.8 kB / 0.8762 GB, free: 61.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/2.386, allocations: 218.1 kB / 0.8764 GB, free: 61.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/2.394, allocations: 2.685 MB / 0.879 GB, free: 61.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/2.394, allocations: 6.219 kB / 0.879 GB, free: 61.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/2.394, allocations: 92.05 kB / 0.8791 GB, free: 61.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/2.394, allocations: 99.75 kB / 0.8792 GB, free: 61.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/2.401, allocations: 2.108 MB / 0.8813 GB, free: 61.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/2.424, allocations: 10.09 MB / 0.8911 GB, free: 56.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/2.428, allocations: 1.85 MB / 0.8929 GB, free: 56.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/2.431, allocations: 0.9968 MB / 0.8939 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/2.442, allocations: 4.764 MB / 0.8986 GB, free: 54.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003101/2.446, allocations: 1.398 MB / 0.8999 GB, free: 53.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 4.959e-06/2.446, allocations: 0 / 0.8999 GB, free: 53.96 MB / 426.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.level 4: tank2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=193): time 0.01537/2.461, allocations: 3.519 MB / 0.9034 GB, free: 53.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/2.461, allocations: 0.5476 MB / 0.9039 GB, free: 52.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/2.464, allocations: 1.447 MB / 0.9053 GB, free: 52.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/2.465, allocations: 113.6 kB / 0.9054 GB, free: 52.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/2.466, allocations: 0.8644 MB / 0.9063 GB, free: 52.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/2.467, allocations: 0.5389 MB / 0.9068 GB, free: 51.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/2.467, allocations: 52.22 kB / 0.9068 GB, free: 51.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/2.468, allocations: 406.8 kB / 0.9072 GB, free: 51.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/2.47, allocations: 0.863 MB / 0.9081 GB, free: 51.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/2.473, allocations: 1.528 MB / 0.9096 GB, free: 50.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/2.476, allocations: 1.03 MB / 0.9106 GB, free: 50.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/2.476, allocations: 9.938 kB / 0.9106 GB, free: 50.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.008322/2.484, allocations: 2.828 MB / 0.9133 GB, free: 50.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.484, allocations: 100.6 kB / 0.9134 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/2.485, allocations: 15.75 kB / 0.9134 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/2.486, allocations: 0.5857 MB / 0.914 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/2.489, allocations: 355.4 kB / 0.9144 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/2.492, allocations: 2.26 MB / 0.9166 GB, free: 48.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/2.495, allocations: 259.5 kB / 0.9168 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/2.496, allocations: 115.4 kB / 0.9169 GB, free: 48.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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,$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,$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,$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,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 (301): * Single equations (assignments): 295 * 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.0008959/2.497, allocations: 448.2 kB / 0.9173 GB, free: 48.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/2.498, allocations: 206.3 kB / 0.9175 GB, free: 48.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008209/2.506, allocations: 2.934 MB / 0.9204 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/2.506, allocations: 23.94 kB / 0.9204 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/2.506, allocations: 3.562 kB / 0.9204 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/2.506, allocations: 10.41 kB / 0.9204 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/2.52, allocations: 5.287 MB / 0.9256 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/2.52, allocations: 0 / 0.9256 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/2.522, allocations: 229.2 kB / 0.9258 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/2.524, allocations: 0.5509 MB / 0.9264 GB, free: 47.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004574/2.525, allocations: 62.61 kB / 0.9264 GB, free: 47.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/2.527, allocations: 2.22 MB / 0.9286 GB, free: 45.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.527, allocations: 0 / 0.9286 GB, free: 45.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/2.538, allocations: 3.909 MB / 0.9324 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/2.54, allocations: 0.5685 MB / 0.933 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007594/2.541, allocations: 61.88 kB / 0.933 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/2.543, allocations: 134.6 kB / 0.9332 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008362/2.544, allocations: 263 kB / 0.9334 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000328/2.544, allocations: 85.75 kB / 0.9335 GB, free: 45.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002294/2.547, allocations: 1.018 MB / 0.9345 GB, free: 45.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.51e-07/2.547, allocations: 0 / 0.9345 GB, free: 45.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003972/2.551, allocations: 0.7379 MB / 0.9352 GB, free: 45.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.U,tank1.m,tank2.U,tank2.m) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,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: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (204): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.01284/2.563, allocations: 5.317 MB / 0.9404 GB, free: 43.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00743/2.571, allocations: 2.54 MB / 0.9429 GB, free: 43.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.571, allocations: 6.281 kB / 0.9429 GB, free: 43.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004246/2.575, allocations: 1.383 MB / 0.9442 GB, free: 43.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005749/2.581, allocations: 0.6732 MB / 0.9449 GB, free: 42.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/2.597, allocations: 3.99 MB / 0.9488 GB, free: 41.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/2.598, allocations: 1.601 MB / 0.9503 GB, free: 40.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/2.6, allocations: 0.9414 MB / 0.9513 GB, free: 39.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/2.6, allocations: 0 / 0.9513 GB, free: 39.95 MB / 426.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksFMU.cpp:11: /var/lib/jenkins1/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 generated. clang++ -shared -o Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.so OMCppModelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanksCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -lModelicaExternalC -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_FMU.makefile:93: recipe for target 'Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu' failed make: *** [Modelica_3_2_3_cpp_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu] Error 1