Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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.001092/0.001092, allocations: 76.45 kB / 19.97 MB, free: 4.59 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.001094/0.001094, allocations: 177.9 kB / 23.25 MB, free: 1.305 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.9477/0.9477, allocations: 177.1 MB / 203.6 MB, free: 5.758 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.03668/0.03668, allocations: 9.141 MB / 269.1 MB, free: 4.488 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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 397.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.117e-05, allocations: 6.219 kB / 397.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.00331/0.003331, allocations: 2.938 MB / 400.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004516, allocations: 0.8676 MB / 401.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.004648, allocations: 11.88 kB / 401.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.004898, allocations: 87.12 kB / 401.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.005067, allocations: 55.41 kB / 401.8 MB, free: 11.3 MB / 330.7 MB [/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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/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/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.005556, allocations: 302.9 kB / 402.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.00588, allocations: 406.9 kB / 402.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.006109, allocations: 143.6 kB / 402.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.006298, allocations: 283.4 kB / 402.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.006507, allocations: 183.4 kB / 403.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.006556, allocations: 48 kB / 403.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.006765, allocations: 195.7 kB / 403.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.006885, allocations: 159.5 kB / 403.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.006986, allocations: 135.6 kB / 403.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.007528, allocations: 0.6969 MB / 404.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.007531, allocations: 0 / 404.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007531, allocations: 0 / 404.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.007538, allocations: 4 kB / 404.3 MB, free: 8.781 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001164/0.008702, allocations: 1.079 MB / 405.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.008748, allocations: 8.031 kB / 405.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.008817, allocations: 82.7 kB / 405.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.008889, allocations: 48.66 kB / 405.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.00915, allocations: 273.1 kB / 405.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.009183, allocations: 33.36 kB / 405.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.009217, allocations: 36.38 kB / 405.9 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.009742, allocations: 484 kB / 406.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.009757, allocations: 8.125 kB / 406.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.009782, allocations: 16.38 kB / 406.4 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.009792, allocations: 12.12 kB / 406.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.01011, allocations: 263.8 kB / 406.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.01115, allocations: 1.241 MB / 407.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.01162, allocations: 278.3 kB / 408.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.01178, allocations: 146.6 kB / 408.3 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.0118, allocations: 7.984 kB / 408.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.01204, allocations: 255.5 kB / 408.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.01204, allocations: 4 kB / 408.5 MB, free: 4.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.000707/0.01275, allocations: 0.5871 MB / 409.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.01282, allocations: 160.5 kB / 409.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01298, allocations: 235.1 kB / 409.5 MB, free: 3.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.01301, allocations: 45.69 kB / 409.6 MB, free: 3.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.0131, allocations: 208.7 kB / 409.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.01317, allocations: 107.1 kB / 409.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.01327, allocations: 126.3 kB / 410 MB, free: 2.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.01336, allocations: 346.7 kB / 410.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.01351, allocations: 125.2 kB / 410.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.01374, allocations: 337.6 kB / 410.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.01415, allocations: 0.4942 MB / 411.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01415, allocations: 0 / 411.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005036/0.01466, allocations: 0.5006 MB / 411.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.01468, allocations: 9.719 kB / 411.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.01468, allocations: 8 kB / 411.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.0147, allocations: 13.05 kB / 411.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01485, allocations: 79.83 kB / 411.9 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.01486, allocations: 19.94 kB / 411.9 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.01495, allocations: 35.78 kB / 411.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01498, allocations: 27.98 kB / 412 MB, free: 0.5742 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001799/0.01516, allocations: 241.5 kB / 412.2 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.01519, allocations: 31.81 kB / 412.2 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.01547, allocations: 247.8 kB / 412.5 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01548, allocations: 4 kB / 412.5 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01548, allocations: 4 kB / 412.5 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01549, allocations: 0 / 412.5 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1937/0.2092, allocations: 0.9704 MB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2092, allocations: 4.234 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.2092, allocations: 20.53 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2092, allocations: 7.219 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2092, allocations: 10.17 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2092, allocations: 3.203 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2092, allocations: 2 kB / 413.5 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.2099, allocations: 0.673 MB / 414.2 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.2099, allocations: 32.14 kB / 414.2 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2099, allocations: 6.203 kB / 414.2 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.21, allocations: 13.22 kB / 414.2 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2101, allocations: 20.25 kB / 414.2 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2101, allocations: 16.61 kB / 414.3 MB, free: 26.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.2102, allocations: 139.7 kB / 414.4 MB, free: 26.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2102, allocations: 0 / 414.4 MB, free: 26.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005258/0.2107, allocations: 161 kB / 414.6 MB, free: 26.7 MB / 330.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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.001381/0.2121, allocations: 1.461 MB / 416 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.2126, allocations: 360.1 kB / 416.4 MB, free: 25.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2126, allocations: 5.312 kB / 416.4 MB, free: 25.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.2128, allocations: 148.9 kB / 416.5 MB, free: 25.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2132, allocations: 84.39 kB / 416.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.2164, allocations: 3.518 MB / 420.1 MB, free: 23.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2166, allocations: 209.8 kB / 420.3 MB, free: 23.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.2167, allocations: 53.67 kB / 420.4 MB, free: 23.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2168, allocations: 117 kB / 420.5 MB, free: 22.98 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2168, allocations: 1.375 kB / 420.5 MB, free: 22.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08728/0.3041, allocations: 9.558 MB / 430 MB, free: 19.84 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '656.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_UDP/656.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_UDP/656.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.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: 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/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:264 (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:264 (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:264 (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:264 (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 \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.360522103495896]