Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.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.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_StateGraph_Examples_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.002424/0.002423, allocations: 182 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.192/2.192, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001129/0.001129, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.162e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 47.57 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5489, allocations: 82.93 MB / 452.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5492, allocations: 73.33 kB / 452.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1759/0.7251, allocations: 40.57 MB / 492.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7252, allocations: 0 / 492.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001657/0.7253, allocations: 32 kB / 492.8 MB, free: 3.484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.004454/0.7298, allocations: 1.424 MB / 494.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.7299, allocations: 8.031 kB / 494.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006062/0.7305, allocations: 185.8 kB / 494.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.7312, allocations: 158.2 kB / 494.5 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.7341, allocations: 0.8761 MB / 495.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.7345, allocations: 203.9 kB / 495.6 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.735, allocations: 144 kB / 495.8 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.7394, allocations: 1.402 MB / 497.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.7395, allocations: 3.938 kB / 497.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.7398, allocations: 59.98 kB / 497.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.863e-05/0.7399, allocations: 46.19 kB / 497.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.7433, allocations: 0.9377 MB / 498.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/0.7551, allocations: 5.45 MB / 0.4918 GB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.7583, allocations: 1.07 MB / 0.4929 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.7597, allocations: 444.3 kB / 0.4933 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.76, allocations: 102.1 kB / 0.4934 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.7616, allocations: 0.6192 MB / 0.494 GB, free: 5.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.968e-06/0.7616, allocations: 0 / 0.494 GB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=116): time 0.002841/0.7644, allocations: 0.9778 MB / 0.495 GB, free: 4.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/0.7647, allocations: 315.7 kB / 0.4953 GB, free: 4.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.7667, allocations: 0.862 MB / 0.4961 GB, free: 3.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.7671, allocations: 97.69 kB / 0.4962 GB, free: 3.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.7678, allocations: 0.5458 MB / 0.4967 GB, free: 2.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.7683, allocations: 292.4 kB / 0.497 GB, free: 2.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.7684, allocations: 28 kB / 0.497 GB, free: 2.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.7686, allocations: 378.7 kB / 0.4974 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.7698, allocations: 396 kB / 0.4978 GB, free: 1.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.7714, allocations: 0.783 MB / 0.4986 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.7728, allocations: 0.5126 MB / 0.4991 GB, free: 344 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.7728, allocations: 4 kB / 0.4991 GB, free: 340 kB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003596/0.7764, allocations: 1.337 MB / 0.5004 GB, free: 14.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.7766, allocations: 97.16 kB / 0.5005 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7766, allocations: 11.98 kB / 0.5005 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.896e-05/0.7767, allocations: 20 kB / 0.5005 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7779, allocations: 175.5 kB / 0.5007 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.437e-05/0.7779, allocations: 23.92 kB / 0.5007 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.7791, allocations: 99.42 kB / 0.5008 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.7793, allocations: 79.91 kB / 0.5008 GB, free: 14.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 146 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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,$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$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.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.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,$PRE.start.reset[1],start.reset[1],$PRE.start.reset[2],start.reset[2],$PRE.start.on,start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.reset[1],stop.reset[1],$PRE.stop.reset[2],stop.reset[2],$PRE.stop.on,stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.reset[1],shut.reset[1],$PRE.shut.reset[2],shut.reset[2],$PRE.shut.on,shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006363/0.7799, allocations: 377.4 kB / 0.5012 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.7803, allocations: 110.7 kB / 0.5013 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.7834, allocations: 1.11 MB / 0.5024 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.7835, allocations: 12 kB / 0.5024 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7835, allocations: 0 / 0.5024 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.7836, allocations: 7.969 kB / 0.5024 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.7905, allocations: 2.597 MB / 0.505 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.7906, allocations: 0 / 0.505 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.7913, allocations: 87.72 kB / 0.505 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.7914, allocations: 7.984 kB / 0.505 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.7915, allocations: 31.97 kB / 0.5051 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.7915, allocations: 4 kB / 0.5051 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.7915, allocations: 4 kB / 0.5051 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.7958, allocations: 1.643 MB / 0.5067 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008908/0.7968, allocations: 299.6 kB / 0.507 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.7971, allocations: 47.94 kB / 0.507 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.7978, allocations: 52.03 kB / 0.5071 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/0.7984, allocations: 148.8 kB / 0.5072 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.7985, allocations: 51.91 kB / 0.5073 GB, free: 7.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001397/0.7999, allocations: 0.5733 MB / 0.5078 GB, free: 7.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8, allocations: 0 / 0.5078 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00175/0.8017, allocations: 291.8 kB / 0.5081 GB, free: 6.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 95 (tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.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,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,stateGraphRoot.activeSteps) * Number of discrete states: 30 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition8,$whenCondition7,shut.on,shut.reset[1],shut.reset[2],stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition10,$whenCondition9,stop.on,stop.reset[1],stop.reset[2],start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,start.on,start.reset[1],start.reset[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006009/0.8078, allocations: 2.583 MB / 0.5106 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003334/0.8112, allocations: 1.253 MB / 0.5118 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8112, allocations: 4.062 kB / 0.5118 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.8127, allocations: 0.6716 MB / 0.5125 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.8144, allocations: 180.1 kB / 0.5127 GB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.8213, allocations: 1.953 MB / 0.5146 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.8225, allocations: 1.17 MB / 0.5157 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.8239, allocations: 487.2 kB / 0.5162 GB, free: 14.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.824, allocations: 0 / 0.5162 GB, free: 14.35 MB / 410.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_StateGraph_Examples_ControlledTanksCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_StateGraph_Examples_ControlledTanksCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_StateGraph_Examples_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_StateGraph_Examples_ControlledTanks.so OMCppModelica_3_2_3_cpp_Modelica_StateGraph_Examples_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" "-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" -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_StateGraph_Examples_ControlledTanks_FMU.makefile:93: recipe for target 'Modelica_3_2_3_cpp_Modelica_StateGraph_Examples_ControlledTanks.fmu' failed make: *** [Modelica_3_2_3_cpp_Modelica_StateGraph_Examples_ControlledTanks.fmu] Error 1