Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009328/0.0009328, allocations: 90.02 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.69e-05, allocations: 4 kB / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.5136, allocations: 85.61 MB / 487.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.5139, allocations: 68.41 kB / 487.8 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1062/0.6201, allocations: 43.81 MB / 0.5191 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6202, allocations: 0 / 0.5191 GB, free: 9.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.985e-05/0.6203, allocations: 32 kB / 0.5192 GB, free: 9.727 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.00293/0.6232, allocations: 1.526 MB / 0.5206 GB, free: 8.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6233, allocations: 8.031 kB / 0.5207 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/0.6236, allocations: 191.8 kB / 0.5208 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.624, allocations: 174.1 kB / 0.521 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.6257, allocations: 0.9266 MB / 0.5219 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.6259, allocations: 204.1 kB / 0.5221 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6261, allocations: 148 kB / 0.5222 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.6287, allocations: 1.441 MB / 0.5237 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.6288, allocations: 7.938 kB / 0.5237 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.6289, allocations: 51.98 kB / 0.5237 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/0.629, allocations: 58.17 kB / 0.5238 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.6307, allocations: 0.9573 MB / 0.5247 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006884/0.6376, allocations: 5.527 MB / 0.5301 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.6395, allocations: 1.245 MB / 0.5313 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.6403, allocations: 0.5197 MB / 0.5318 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.6405, allocations: 106.1 kB / 0.5319 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.6418, allocations: 0.8778 MB / 0.5328 GB, free: 11.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/0.6418, allocations: 0 / 0.5328 GB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.00211/0.6439, allocations: 1.095 MB / 0.5339 GB, free: 9.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003086/0.6442, allocations: 0.6039 MB / 0.5344 GB, free: 9.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.6457, allocations: 0.8662 MB / 0.5353 GB, free: 8.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.6459, allocations: 113.7 kB / 0.5354 GB, free: 8.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.6464, allocations: 0.5296 MB / 0.5359 GB, free: 7.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.6468, allocations: 324.1 kB / 0.5362 GB, free: 7.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.6468, allocations: 36 kB / 0.5363 GB, free: 7.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.647, allocations: 381.9 kB / 0.5366 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.6478, allocations: 448 kB / 0.537 GB, free: 6.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.649, allocations: 0.8923 MB / 0.5379 GB, free: 5.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6501, allocations: 0.5721 MB / 0.5385 GB, free: 4.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.6501, allocations: 4 kB / 0.5385 GB, free: 4.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002942/0.653, allocations: 1.534 MB / 0.54 GB, free: 3.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.6532, allocations: 106 kB / 0.5401 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.6532, allocations: 12 kB / 0.5401 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-05/0.6533, allocations: 28 kB / 0.5401 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.654, allocations: 187.5 kB / 0.5403 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/0.654, allocations: 26 kB / 0.5403 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.6549, allocations: 115.3 kB / 0.5404 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.6551, allocations: 79.92 kB / 0.5405 GB, free: 2.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($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,$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],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$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,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,stateGraphRoot.activeSteps,$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],$whenCondition11,$whenCondition10,$whenCondition12,$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],$whenCondition14,$whenCondition13,$whenCondition15,$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],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,tankController.T6.t_start,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 (214): * Single equations (assignments): 211 * 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.000653/0.6557, allocations: 440.6 kB / 0.5409 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.656, allocations: 110.7 kB / 0.541 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.6583, allocations: 1.191 MB / 0.5422 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.6583, allocations: 16 kB / 0.5422 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6584, allocations: 0 / 0.5422 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.6584, allocations: 11.97 kB / 0.5422 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/0.6631, allocations: 2.794 MB / 0.545 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.6631, allocations: 0 / 0.545 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.6635, allocations: 91.75 kB / 0.545 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/0.6636, allocations: 7.953 kB / 0.545 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.6637, allocations: 43.97 kB / 0.5451 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.6637, allocations: 4 kB / 0.5451 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.6637, allocations: 7.938 kB / 0.5451 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.6669, allocations: 1.99 MB / 0.547 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.6676, allocations: 319.6 kB / 0.5473 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.6678, allocations: 63.95 kB / 0.5474 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.6683, allocations: 59.97 kB / 0.5475 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.6687, allocations: 160.8 kB / 0.5476 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6688, allocations: 55.92 kB / 0.5477 GB, free: 11.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.6698, allocations: 0.5904 MB / 0.5482 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6698, allocations: 0 / 0.5482 GB, free: 10.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001425/0.6713, allocations: 319.7 kB / 0.5486 GB, free: 10.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,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,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,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,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],stateGraphRoot.activeSteps) * Number of discrete states: 50 (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,$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,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.makeProduct.T1.t_start,tankController.makeProduct.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * 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.004614/0.6759, allocations: 3.52 MB / 0.552 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.6785, allocations: 1.46 MB / 0.5534 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6785, allocations: 0 / 0.5534 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6797, allocations: 0.8555 MB / 0.5543 GB, free: 4.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.681, allocations: 200.4 kB / 0.5544 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.6862, allocations: 2.118 MB / 0.5565 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009825/0.6872, allocations: 1.194 MB / 0.5577 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007988/0.688, allocations: 217.8 kB / 0.5579 GB, free: 496 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/0.6888, allocations: 0.4993 MB / 0.5584 GB, free: 15.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6888, allocations: 0 / 0.5584 GB, free: 15.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.333/1.022, allocations: 25.52 MB / 0.5833 GB, free: 103.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.022, allocations: 184.6 kB / 0.5835 GB, free: 102.9 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.c:7: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_records.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_records.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_01exo.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_01exo.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_01exo.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_02nls.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_02nls.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_02nls.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_03lsy.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_03lsy.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_04set.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_04set.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_04set.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_05evt.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_05evt.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_05evt.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_06inz.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_06inz.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_06inz.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_07dly.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_07dly.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_07dly.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_08bnd.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_08bnd.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_09alg.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_09alg.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_09alg.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_10asr.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_10asr.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_10asr.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_11mix.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_11mix.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_11mix.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_12jac.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_12jac.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_12jac.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_13opt.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_13opt.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_13opt.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_14lnz.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_14lnz.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_15syn.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_15syn.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_15syn.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_16dae.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_16dae.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_16dae.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_17inl.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_17inl.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_17inl.c:2: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_init_fmu.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_init_fmu.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.c In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.so Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_records.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_01exo.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_02nls.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_03lsy.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_04set.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_05evt.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_06inz.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_07dly.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_08bnd.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_09alg.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_10asr.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_11mix.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_12jac.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_13opt.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_14lnz.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_15syn.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_16dae.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_17inl.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_init_fmu.o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk" -Wl,-Bstatic "-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 trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -Wl,-Bdynamic -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' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25f5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTimeTable_constructor': Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.c:(.text+0x804): undefined reference to `ModelicaStandardTables_CombiTimeTable_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1