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.0009766/0.0009767, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 94.3 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.205e-05, allocations: 4 kB / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 51.47 MB / 395.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5724, allocations: 84.95 MB / 480.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5727, allocations: 71.16 kB / 480.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.109/0.6817, allocations: 43.28 MB / 0.5113 GB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6818, allocations: 0 / 0.5113 GB, free: 2.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.682, allocations: 35.98 kB / 0.5113 GB, free: 2.141 MB / 378.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.004422/0.6864, allocations: 1.524 MB / 0.5128 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.6865, allocations: 8.031 kB / 0.5128 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6876, allocations: 166.1 kB / 0.513 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.69, allocations: 0.9344 MB / 0.5139 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.6903, allocations: 147.5 kB / 0.514 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.6907, allocations: 95.91 kB / 0.5141 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002273/0.693, allocations: 0.8718 MB / 0.515 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.6958, allocations: 1.272 MB / 0.5162 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6958, allocations: 4 kB / 0.5162 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.696, allocations: 7.984 kB / 0.5162 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.696, allocations: 50.19 kB / 0.5163 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.7031, allocations: 5.314 MB / 0.5214 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.7049, allocations: 1.17 MB / 0.5226 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.7057, allocations: 488.2 kB / 0.5231 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.7059, allocations: 114.3 kB / 0.5232 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.7072, allocations: 0.8414 MB / 0.524 GB, free: 4.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=133): time 4.178e-06/0.7072, allocations: 0 / 0.524 GB, free: 4.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.001853/0.7091, allocations: 0.937 MB / 0.5249 GB, free: 3.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003028/0.7094, allocations: 0.6042 MB / 0.5255 GB, free: 2.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.7106, allocations: 0.8349 MB / 0.5263 GB, free: 1.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.7108, allocations: 81.67 kB / 0.5264 GB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.7113, allocations: 0.5282 MB / 0.5269 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.7116, allocations: 308.1 kB / 0.5272 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.7117, allocations: 4 kB / 0.5272 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.7119, allocations: 374 kB / 0.5276 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.7126, allocations: 416 kB / 0.528 GB, free: 212 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.7138, allocations: 0.8496 MB / 0.5288 GB, free: 15.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.7147, allocations: 457 kB / 0.5292 GB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.7147, allocations: 7.953 kB / 0.5292 GB, free: 14.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00224/0.717, allocations: 1.293 MB / 0.5305 GB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.7171, allocations: 113.1 kB / 0.5306 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.7171, allocations: 12 kB / 0.5306 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/0.7172, allocations: 20 kB / 0.5306 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.7179, allocations: 187.5 kB / 0.5308 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.7179, allocations: 23.94 kB / 0.5308 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.7185, allocations: 79.34 kB / 0.5309 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.7186, allocations: 84.05 kB / 0.531 GB, free: 12.91 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.0004824/0.7191, allocations: 375.6 kB / 0.5313 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001594/0.7207, allocations: 0.9759 MB / 0.5323 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.7209, allocations: 114.8 kB / 0.5324 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.7227, allocations: 1.009 MB / 0.5334 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7228, allocations: 15.94 kB / 0.5334 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7228, allocations: 4 kB / 0.5334 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.7228, allocations: 11.97 kB / 0.5334 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.7268, allocations: 2.444 MB / 0.5358 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7268, allocations: 4.281 kB / 0.5358 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.7272, allocations: 83.77 kB / 0.5359 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.7272, allocations: 12 kB / 0.5359 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.7273, allocations: 39.84 kB / 0.5359 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.7273, allocations: 4 kB / 0.5359 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7273, allocations: 4 kB / 0.5359 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.7301, allocations: 1.781 MB / 0.5377 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.7306, allocations: 327.6 kB / 0.538 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.7308, allocations: 35.98 kB / 0.538 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.7312, allocations: 39.95 kB / 0.5381 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.7316, allocations: 169.1 kB / 0.5382 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7317, allocations: 59.95 kB / 0.5383 GB, free: 5.215 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007763/0.7325, allocations: 0.5499 MB / 0.5388 GB, free: 4.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7325, allocations: 0 / 0.5388 GB, free: 4.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001249/0.7337, allocations: 271.6 kB / 0.5391 GB, free: 4.402 MB / 410.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.004074/0.7378, allocations: 3.28 MB / 0.5423 GB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.74, allocations: 1.369 MB / 0.5436 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.74, allocations: 0 / 0.5436 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000965/0.741, allocations: 0.8202 MB / 0.5444 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.742, allocations: 181 kB / 0.5446 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.7462, allocations: 2 MB / 0.5466 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.7471, allocations: 1.201 MB / 0.5477 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007138/0.7478, allocations: 213.7 kB / 0.5479 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.7485, allocations: 0.4998 MB / 0.5484 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7485, allocations: 0 / 0.5484 GB, free: 10.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05881/0.8073, allocations: 24.4 MB / 0.5722 GB, free: 2.312 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.8076, allocations: 170.2 kB / 0.5724 GB, free: 2.109 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.so Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks_FMU.o 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 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /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+0x80b): undefined reference to `ModelicaStandardTables_CombiTimeTable_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1