Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001126/0.001126, 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.001013/0.001013, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9521/0.9521, allocations: 177.1 MB / 203.6 MB, free: 5.754 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.03697/0.03697, allocations: 9.141 MB / 269.1 MB, free: 4.484 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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 397.8 MB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.267e-05, allocations: 5.375 kB / 397.8 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004426/0.004459, allocations: 2.327 MB / 400.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.006208, allocations: 0.9144 MB / 401.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.006386, allocations: 19.81 kB / 401.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.006681, allocations: 79.17 kB / 401.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.006941, allocations: 63.34 kB / 401.2 MB, free: 13.07 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.007779, allocations: 321.5 kB / 401.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.008211, allocations: 391.7 kB / 401.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.008533, allocations: 159.6 kB / 402.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.00883, allocations: 275.4 kB / 402.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.009053, allocations: 175.4 kB / 402.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.009103, allocations: 44 kB / 402.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.009312, allocations: 203.7 kB / 402.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.009434, allocations: 155.5 kB / 402.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.009539, allocations: 131.6 kB / 403.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.0101, allocations: 0.689 MB / 403.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.0101, allocations: 0 / 403.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0101, allocations: 0 / 403.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01011, allocations: 0 / 403.7 MB, free: 10.56 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 getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001195/0.01131, allocations: 1.036 MB / 404.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.01135, allocations: 12.03 kB / 404.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.01142, allocations: 90.7 kB / 404.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.0115, allocations: 52.61 kB / 404.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.01178, allocations: 280.6 kB / 405.2 MB, free: 8.988 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.01189, allocations: 102 kB / 405.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.01193, allocations: 40.38 kB / 405.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.01312, allocations: 1.171 MB / 406.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01314, allocations: 7.938 kB / 406.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.01317, allocations: 16 kB / 406.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.0132, allocations: 20 kB / 406.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.01356, allocations: 308 kB / 406.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.01449, allocations: 1.272 MB / 408.1 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.01517, allocations: 0.6881 MB / 408.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.01554, allocations: 368.1 kB / 409.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/0.01563, allocations: 44.47 kB / 409.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.01579, allocations: 203.8 kB / 409.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.354e-06/0.0158, allocations: 0 / 409.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0009891/0.01678, allocations: 0.8036 MB / 410.2 MB, free: 3.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.01692, allocations: 330.6 kB / 410.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01706, allocations: 223 kB / 410.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01709, allocations: 42.45 kB / 410.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.01718, allocations: 169.6 kB / 411 MB, free: 2.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.01722, allocations: 63.61 kB / 411 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.01728, allocations: 65.69 kB / 411.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.01735, allocations: 330.8 kB / 411.4 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.01742, allocations: 52.14 kB / 411.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.01753, allocations: 154.2 kB / 411.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.01776, allocations: 232.6 kB / 411.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01776, allocations: 0 / 411.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002504/0.01801, allocations: 245.2 kB / 412.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01803, allocations: 8 kB / 412.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01804, allocations: 4 kB / 412.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01805, allocations: 4 kB / 412.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.01815, allocations: 39.92 kB / 412.1 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.01816, allocations: 11.92 kB / 412.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.01822, allocations: 15.89 kB / 412.2 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.01824, allocations: 12 kB / 412.2 MB, free: 1.477 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.01843, allocations: 216.2 kB / 412.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.01898, allocations: 0.4952 MB / 412.9 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.0195, allocations: 475.3 kB / 413.4 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.01952, allocations: 12 kB / 413.4 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.01953, allocations: 4 kB / 413.4 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.01954, allocations: 3.984 kB / 413.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.02002, allocations: 0.5518 MB / 413.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.02003, allocations: 8.234 kB / 413.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.02021, allocations: 103.9 kB / 414 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.02022, allocations: 8 kB / 414 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.02024, allocations: 27.92 kB / 414.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.02025, allocations: 4 kB / 414.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.02025, allocations: 4 kB / 414.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.02093, allocations: 0.7829 MB / 414.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.02096, allocations: 55.53 kB / 414.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.02101, allocations: 20 kB / 414.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.0211, allocations: 16 kB / 414.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.02114, allocations: 31.89 kB / 415 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.02117, allocations: 28 kB / 415 MB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.02125, allocations: 144.7 kB / 415.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02125, allocations: 0 / 415.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003465/0.0216, allocations: 135.6 kB / 415.3 MB, free: 14.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.001947/0.02355, allocations: 1.94 MB / 417.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.02424, allocations: 1.044 MB / 418.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.02424, allocations: 8.062 kB / 418.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.02456, allocations: 0.7608 MB / 419 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.02567, allocations: 1.195 MB / 420.2 MB, free: 9.258 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1886:3-1886:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.02762, allocations: 2.062 MB / 422.3 MB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.0278, allocations: 280.7 kB / 422.6 MB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.02788, allocations: 35.52 kB / 422.6 MB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.02801, allocations: 132.5 kB / 422.7 MB, free: 6.559 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02802, allocations: 0 / 422.7 MB, free: 6.559 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.1145, allocations: 11.41 MB / 434.1 MB, free: 11.34 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '117.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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.fmutmp/sources/../binaries/linux64 -- 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: 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:276 (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:276 (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:276 (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:276 (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 \"117\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/117.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.4344037622213364]