Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.00113/0.00113, allocations: 76.55 kB / 19.96 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.001125/0.001125, allocations: 174.3 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.9651/0.9651, allocations: 177.1 MB / 203.6 MB, free: 5.742 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.03614/0.03614, allocations: 9.143 MB / 269.1 MB, free: 4.48 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 397.8 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.258e-05, allocations: 5.094 kB / 397.8 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003484/0.003507, allocations: 2.965 MB / 400.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.004666, allocations: 0.8793 MB / 401.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.004818, allocations: 19.81 kB / 401.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.005095, allocations: 83.14 kB / 401.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.005313, allocations: 63.38 kB / 401.9 MB, free: 12.44 MB / 378.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.0005339/0.005847, allocations: 298.9 kB / 402.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.006206, allocations: 418.8 kB / 402.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.006455, allocations: 139.6 kB / 402.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.006662, allocations: 279.4 kB / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.006887, allocations: 187.4 kB / 403.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.006939, allocations: 44 kB / 403.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.007155, allocations: 203.7 kB / 403.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.007297, allocations: 147.5 kB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.007419, allocations: 143.6 kB / 403.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.008012, allocations: 0.7007 MB / 404.4 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.008015, allocations: 0 / 404.4 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008016, allocations: 4 kB / 404.4 MB, free: 9.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.008026, allocations: 0 / 404.4 MB, free: 9.902 MB / 378.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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00132/0.009345, allocations: 1.076 MB / 405.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.009404, allocations: 12.03 kB / 405.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.009478, allocations: 86.7 kB / 405.5 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.00956, allocations: 52.59 kB / 405.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.009854, allocations: 269.4 kB / 405.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.009891, allocations: 29.38 kB / 405.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.009932, allocations: 40.36 kB / 405.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.01051, allocations: 497.8 kB / 406.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01053, allocations: 4.188 kB / 406.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.01056, allocations: 20.38 kB / 406.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.01057, allocations: 12.12 kB / 406.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.01091, allocations: 277.8 kB / 406.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01223, allocations: 1.307 MB / 408 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.01267, allocations: 301 kB / 408.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01283, allocations: 144.2 kB / 408.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.01285, allocations: 11.94 kB / 408.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.01314, allocations: 272 kB / 408.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/0.01314, allocations: 0 / 408.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.000804/0.01395, allocations: 0.6031 MB / 409.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.01404, allocations: 182.2 kB / 409.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01423, allocations: 247 kB / 409.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.01426, allocations: 41.7 kB / 409.8 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01438, allocations: 213.4 kB / 410 MB, free: 3.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.01445, allocations: 111.2 kB / 410.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01457, allocations: 130.5 kB / 410.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01468, allocations: 350.8 kB / 410.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.01483, allocations: 125.2 kB / 410.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.01511, allocations: 351.6 kB / 411.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.01554, allocations: 0.5154 MB / 411.6 MB, free: 2.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01554, allocations: 7.938 kB / 411.6 MB, free: 2.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005136/0.01606, allocations: 0.5133 MB / 412.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01608, allocations: 12.03 kB / 412.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.01609, allocations: 8 kB / 412.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.0161, allocations: 8 kB / 412.1 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01625, allocations: 83.83 kB / 412.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.01626, allocations: 15.94 kB / 412.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.01636, allocations: 47.67 kB / 412.3 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.01639, allocations: 31.92 kB / 412.3 MB, free: 1.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.000175/0.01656, allocations: 241.5 kB / 412.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.0166, allocations: 35.8 kB / 412.6 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.01702, allocations: 388.1 kB / 412.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01702, allocations: 4 kB / 413 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.01703, allocations: 48 / 413 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.01704, allocations: 7.984 kB / 413 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.01784, allocations: 0.8927 MB / 413.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01784, allocations: 4 kB / 413.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.01788, allocations: 15.94 kB / 413.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01788, allocations: 0 / 413.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.0179, allocations: 19.92 kB / 413.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.01791, allocations: 3.984 kB / 413.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.01791, allocations: 8.062 kB / 413.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.01853, allocations: 0.6068 MB / 414.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.01855, allocations: 35.73 kB / 414.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01858, allocations: 11.92 kB / 414.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.01863, allocations: 4.094 kB / 414.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.01869, allocations: 31.77 kB / 414.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.01872, allocations: 27.97 kB / 414.6 MB, free: 14.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.01879, allocations: 135 kB / 414.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01879, allocations: 3.938 kB / 414.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.01915, allocations: 159.5 kB / 414.9 MB, free: 14.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.001248/0.0204, allocations: 1.404 MB / 416.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.02081, allocations: 365 kB / 416.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02081, allocations: 128 / 416.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.02098, allocations: 156 kB / 416.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.02131, allocations: 78.17 kB / 416.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.02414, allocations: 3.493 MB / 420.4 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.02429, allocations: 222.7 kB / 420.6 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.291e-05/0.02438, allocations: 55.09 kB / 420.7 MB, free: 8.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02449, allocations: 112.5 kB / 420.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02449, allocations: 0 / 420.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09071/0.1152, allocations: 9.639 MB / 430.4 MB, free: 15.11 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '824.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_UDPWithoutReceiveThread/824.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_UDPWithoutReceiveThread/824.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 \"824\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.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.2632679883390665]