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.0008632/0.0008632, allocations: 72.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.001068/0.001068, 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.9709/0.9709, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.03525/0.03525, allocations: 9.14 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: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 397.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.465e-05, allocations: 2.281 kB / 397.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003835/0.00386, allocations: 2.328 MB / 399.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005516, allocations: 0.9262 MB / 400.3 MB, free: 14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.005719, allocations: 15.88 kB / 400.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.006009, allocations: 83.11 kB / 400.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.006274, allocations: 59.41 kB / 400.5 MB, free: 13.84 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.001021/0.007296, allocations: 326.2 kB / 400.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.007842, allocations: 395.7 kB / 401.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.008168, allocations: 155.6 kB / 401.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.008494, allocations: 267.4 kB / 401.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.008825, allocations: 175.5 kB / 401.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.008889, allocations: 44 kB / 401.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.009212, allocations: 199.7 kB / 402 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.0096, allocations: 159.5 kB / 402.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.009714, allocations: 131.6 kB / 402.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.01052, allocations: 0.6852 MB / 403 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.01053, allocations: 0 / 403 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.01053, allocations: 0 / 403 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.01056, allocations: 0 / 403 MB, free: 11.34 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.001702/0.01226, allocations: 1.032 MB / 404 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.01233, allocations: 12.03 kB / 404 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.01243, allocations: 86.72 kB / 404.1 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.01254, allocations: 56.61 kB / 404.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.01291, allocations: 281.3 kB / 404.4 MB, free: 9.77 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.0001539/0.01306, allocations: 104.9 kB / 404.5 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.01311, allocations: 44.38 kB / 404.6 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.01504, allocations: 1.171 MB / 405.7 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.01507, allocations: 11.88 kB / 405.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.01512, allocations: 16 kB / 405.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.01516, allocations: 16 kB / 405.8 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.01562, allocations: 308 kB / 406.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.01694, allocations: 1.264 MB / 407.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.01768, allocations: 0.6899 MB / 408 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.01804, allocations: 363 kB / 408.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.01815, allocations: 47.86 kB / 408.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.01835, allocations: 203.8 kB / 408.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 4.027e-06/0.01836, allocations: 0 / 408.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.001091/0.01945, allocations: 0.8086 MB / 409.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.01964, allocations: 326.6 kB / 409.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.01984, allocations: 227 kB / 410 MB, free: 3.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.01989, allocations: 41.7 kB / 410 MB, free: 3.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.02001, allocations: 169.6 kB / 410.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.02006, allocations: 56.38 kB / 410.2 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.02016, allocations: 69.67 kB / 410.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.02027, allocations: 338.8 kB / 410.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.02035, allocations: 48.14 kB / 410.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.02049, allocations: 154.2 kB / 410.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.02075, allocations: 236.8 kB / 411.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02076, allocations: 0 / 411.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002771/0.02103, allocations: 241.4 kB / 411.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.02105, allocations: 11.98 kB / 411.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.02106, allocations: 4 kB / 411.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.02107, allocations: 4 kB / 411.3 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.02118, allocations: 39.92 kB / 411.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.02119, allocations: 7.938 kB / 411.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.02126, allocations: 19.89 kB / 411.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.02128, allocations: 11.98 kB / 411.4 MB, free: 2.25 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.0002284/0.02151, allocations: 219.7 kB / 411.6 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.02202, allocations: 0.4916 MB / 412.1 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.02293, allocations: 467.3 kB / 412.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/0.02295, allocations: 15.98 kB / 412.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.02296, allocations: 4 kB / 412.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.02297, allocations: 3.984 kB / 412.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.02356, allocations: 0.5478 MB / 413.1 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.02357, allocations: 12.16 kB / 413.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.02377, allocations: 103.9 kB / 413.3 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.02378, allocations: 4 kB / 413.3 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.02381, allocations: 24.23 kB / 413.3 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.02382, allocations: 11.92 kB / 413.3 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.02382, allocations: 8 kB / 413.3 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.02457, allocations: 0.7712 MB / 414.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.02462, allocations: 59.52 kB / 414.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.02467, allocations: 20 kB / 414.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.02477, allocations: 20 kB / 414.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.02482, allocations: 23.91 kB / 414.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.02485, allocations: 31.98 kB / 414.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.193e-05/0.02495, allocations: 144.7 kB / 414.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02495, allocations: 0 / 414.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.02537, allocations: 135.6 kB / 414.5 MB, free: 15.05 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.001908/0.02727, allocations: 1.935 MB / 416.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007584/0.02803, allocations: 1.044 MB / 417.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.02804, allocations: 4 kB / 417.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.0284, allocations: 0.769 MB / 418.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.02962, allocations: 1.191 MB / 419.4 MB, free: 10.04 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.03222, allocations: 2.07 MB / 421.5 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.03246, allocations: 280.6 kB / 421.8 MB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.03259, allocations: 38.94 kB / 421.8 MB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.03278, allocations: 128.5 kB / 421.9 MB, free: 7.332 MB / 394.7 MB Notification: Performance of SimCode: time 2.475e-06/0.03278, allocations: 4 kB / 422 MB, free: 7.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.06468, allocations: 11.31 MB / 433.3 MB, free: 12.2 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 -- The C compiler identification is Clang 18.1.3 -- 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: Not linked -- 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 -- 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.2710404582321644] Failed to read output from testmodel.py, exit status != 0: 0.31400515232235193 0.5165611400000001 0.502090887 Calling exit ...