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.00107/0.00107, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008077/0.0008076, allocations: 105.7 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 4 kB / 358 MB, free: 9.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1872, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09258/0.2799, allocations: 85.67 MB / 495.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.2801, allocations: 87.94 kB / 495.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.24/0.5201, allocations: 43.9 MB / 0.5265 GB, free: 83.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5201, allocations: 0 / 0.5265 GB, free: 83.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.532e-05/0.5202, allocations: 37.47 kB / 0.5265 GB, free: 83.62 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.00234/0.5226, allocations: 1.667 MB / 0.5282 GB, free: 82.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5226, allocations: 12.03 kB / 0.5282 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.5229, allocations: 186 kB / 0.5284 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.5231, allocations: 162.1 kB / 0.5285 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5245, allocations: 0.9421 MB / 0.5294 GB, free: 80.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5246, allocations: 200.1 kB / 0.5296 GB, free: 80.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5248, allocations: 148 kB / 0.5298 GB, free: 80.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5267, allocations: 1.466 MB / 0.5312 GB, free: 78.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.5267, allocations: 8 kB / 0.5312 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.5268, allocations: 50.66 kB / 0.5313 GB, free: 78.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.5269, allocations: 55.72 kB / 0.5313 GB, free: 78.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5283, allocations: 0.9882 MB / 0.5323 GB, free: 77.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.5329, allocations: 5.525 MB / 0.5377 GB, free: 72.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5343, allocations: 1.268 MB / 0.5389 GB, free: 70.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.5345, allocations: 99.67 kB / 0.539 GB, free: 70.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009162/0.5354, allocations: 0.8958 MB / 0.5399 GB, free: 69.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 2.585e-06/0.5354, allocations: 0 / 0.5399 GB, free: 69.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.00214/0.5375, allocations: 1.735 MB / 0.5416 GB, free: 67.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.5377, allocations: 0.6 MB / 0.5422 GB, free: 67.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.5386, allocations: 0.8816 MB / 0.543 GB, free: 66.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.5387, allocations: 114.4 kB / 0.5431 GB, free: 66.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.5391, allocations: 0.5265 MB / 0.5436 GB, free: 65.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.5393, allocations: 332 kB / 0.544 GB, free: 65.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.5394, allocations: 40 kB / 0.544 GB, free: 65.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.5394, allocations: 369.9 kB / 0.5443 GB, free: 64.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.5402, allocations: 467.8 kB / 0.5448 GB, free: 64.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008418/0.541, allocations: 0.9116 MB / 0.5457 GB, free: 63.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.5418, allocations: 0.5861 MB / 0.5463 GB, free: 62.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5418, allocations: 11.22 kB / 0.5463 GB, free: 62.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001977/0.5438, allocations: 1.569 MB / 0.5478 GB, free: 61.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.5439, allocations: 109.1 kB / 0.5479 GB, free: 61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5439, allocations: 12 kB / 0.5479 GB, free: 60.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.5439, allocations: 20 kB / 0.5479 GB, free: 60.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.5445, allocations: 183.5 kB / 0.5481 GB, free: 60.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.5445, allocations: 28.52 kB / 0.5481 GB, free: 60.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.5452, allocations: 111.4 kB / 0.5482 GB, free: 60.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5453, allocations: 75.97 kB / 0.5483 GB, free: 60.58 MB / 378.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 () * Number of clocked 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.0007301/0.546, allocations: 0.641 MB / 0.5489 GB, free: 59.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.5463, allocations: 114.7 kB / 0.549 GB, free: 59.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.548, allocations: 1.226 MB / 0.5502 GB, free: 58.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.548, allocations: 12 kB / 0.5503 GB, free: 58.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.548, allocations: 4 kB / 0.5503 GB, free: 58.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5481, allocations: 7.984 kB / 0.5503 GB, free: 58.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.5516, allocations: 2.821 MB / 0.553 GB, free: 55.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5516, allocations: 11.92 kB / 0.553 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.552, allocations: 75.83 kB / 0.5531 GB, free: 55.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.552, allocations: 8 kB / 0.5531 GB, free: 55.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.5521, allocations: 39.97 kB / 0.5532 GB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.5521, allocations: 19.88 kB / 0.5532 GB, free: 55.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5521, allocations: 0 / 0.5532 GB, free: 55.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.5544, allocations: 2.029 MB / 0.5552 GB, free: 53.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.5548, allocations: 327.5 kB / 0.5555 GB, free: 52.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.555, allocations: 63.97 kB / 0.5555 GB, free: 52.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.5555, allocations: 52.03 kB / 0.5556 GB, free: 52.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.5557, allocations: 160.8 kB / 0.5557 GB, free: 52.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.999e-05/0.5558, allocations: 59.97 kB / 0.5558 GB, free: 52.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000666/0.5565, allocations: 0.5927 MB / 0.5564 GB, free: 52.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5565, allocations: 0 / 0.5564 GB, free: 52.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001027/0.5575, allocations: 319.8 kB / 0.5567 GB, free: 51.75 MB / 378.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) * Number of clocked states: 0 () * 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.003481/0.561, allocations: 3.6 MB / 0.5602 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.5629, allocations: 1.498 MB / 0.5616 GB, free: 46.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5629, allocations: 192 / 0.5617 GB, free: 46.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.5638, allocations: 0.8762 MB / 0.5625 GB, free: 45.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.5647, allocations: 201.2 kB / 0.5627 GB, free: 45.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5754, allocations: 15.21 MB / 0.5775 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.5761, allocations: 1.205 MB / 0.5787 GB, free: 28.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006647/0.5768, allocations: 213.8 kB / 0.5789 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.5774, allocations: 0.4993 MB / 0.5794 GB, free: 27.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5774, allocations: 0 / 0.5794 GB, free: 27.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.6156, allocations: 25.54 MB / 0.6044 GB, free: 2.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001212/0.6157, allocations: 209.6 kB / 0.6046 GB, free: 2.242 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168: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+0x25a5): 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:58: nozip] Error 1