Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 80.53 kB / 19.97 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 177.9 kB / 23.25 MB, free: 1.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.961/0.961, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03584/0.03584, allocations: 9.133 MB / 269.1 MB, free: 4.477 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 397.8 MB, free: 480 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.428e-05, allocations: 9.172 kB / 397.8 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.003739/0.003764, allocations: 3.23 MB / 401.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004933, allocations: 0.9104 MB / 402 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.005101, allocations: 11.88 kB / 402 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.005417, allocations: 95.11 kB / 402.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005543, allocations: 43.53 kB / 402.1 MB, free: 12.15 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.006289, allocations: 318.5 kB / 402.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.006633, allocations: 411.2 kB / 402.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.006843, allocations: 130.7 kB / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.007027, allocations: 251.5 kB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.007259, allocations: 155.5 kB / 403.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.007307, allocations: 40 kB / 403.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.007488, allocations: 159.8 kB / 403.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.007605, allocations: 127.5 kB / 403.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.007708, allocations: 119.7 kB / 403.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.008212, allocations: 0.6229 MB / 404.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008214, allocations: 0 / 404.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.008215, allocations: 0 / 404.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.008221, allocations: 0 / 404.4 MB, free: 9.84 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001015/0.009237, allocations: 0.8432 MB / 405.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.00929, allocations: 8.031 kB / 405.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.009357, allocations: 74.7 kB / 405.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.00943, allocations: 48.66 kB / 405.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.00973, allocations: 280.5 kB / 405.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.009761, allocations: 29.38 kB / 405.7 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.0098, allocations: 36.36 kB / 405.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.01029, allocations: 432.8 kB / 406.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.0103, allocations: 192 / 406.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.01033, allocations: 20.36 kB / 406.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.01035, allocations: 16.12 kB / 406.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.01063, allocations: 229.3 kB / 406.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009902/0.01162, allocations: 1.159 MB / 407.6 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.01199, allocations: 278.7 kB / 407.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.01213, allocations: 131.3 kB / 408 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01216, allocations: 4 kB / 408 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.01241, allocations: 263.5 kB / 408.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.252e-06/0.01241, allocations: 0 / 408.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006737/0.01309, allocations: 0.5324 MB / 408.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.01316, allocations: 152.4 kB / 408.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01335, allocations: 257.8 kB / 409.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.01337, allocations: 49.69 kB / 409.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01348, allocations: 208.7 kB / 409.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.01354, allocations: 99.27 kB / 409.5 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01364, allocations: 118.2 kB / 409.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.01373, allocations: 342.8 kB / 410 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.0139, allocations: 176.6 kB / 410.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.01417, allocations: 336.1 kB / 410.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.01475, allocations: 0.679 MB / 411.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.01475, allocations: 4 kB / 411.2 MB, free: 2.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005458/0.0153, allocations: 0.6128 MB / 411.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.01534, allocations: 75.33 kB / 411.8 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.01536, allocations: 4.562 kB / 411.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01538, allocations: 12.09 kB / 411.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01549, allocations: 67.83 kB / 411.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.0155, allocations: 11.94 kB / 411.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.0156, allocations: 43.72 kB / 412 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.01562, allocations: 24 kB / 412 MB, free: 1.695 MB / 378.7 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.01583, allocations: 223.8 kB / 412.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.01587, allocations: 35.75 kB / 412.3 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.01592, allocations: 35.52 kB / 412.3 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01593, allocations: 4 kB / 412.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01593, allocations: 0 / 412.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01594, allocations: 0 / 412.3 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.01668, allocations: 0.8173 MB / 413.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01669, allocations: 3.984 kB / 413.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.01671, allocations: 8 kB / 413.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01671, allocations: 0 / 413.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01673, allocations: 15.98 kB / 413.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.01673, allocations: 7.984 kB / 413.1 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01673, allocations: 3.938 kB / 413.1 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.01719, allocations: 0.5427 MB / 413.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.01721, allocations: 27.75 kB / 413.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01724, allocations: 8 kB / 413.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.0173, allocations: 11.98 kB / 413.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.01735, allocations: 19.97 kB / 413.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.01739, allocations: 23.86 kB / 413.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.468e-05/0.01749, allocations: 161.2 kB / 413.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01749, allocations: 4 kB / 413.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.01781, allocations: 147.5 kB / 414.1 MB, free: 15.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 21 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.01928, allocations: 1.449 MB / 415.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.01979, allocations: 0.5267 MB / 416.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01979, allocations: 0 / 416.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01994, allocations: 154.7 kB / 416.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.02022, allocations: 52.64 kB / 416.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.02327, allocations: 3.726 MB / 420 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.02342, allocations: 211 kB / 420.2 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.02349, allocations: 39.11 kB / 420.2 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.02359, allocations: 112.5 kB / 420.3 MB, free: 8.984 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02359, allocations: 0 / 420.3 MB, free: 8.984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08538/0.109, allocations: 9.412 MB / 429.8 MB, free: 15.67 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '649.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:288 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:288 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:288 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:288 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"649\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources rt linked by target \"649\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer/649.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2499271845445037]