Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_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.001234/0.001234, allocations: 80.53 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.001258/0.001258, 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.951/0.951, allocations: 177.1 MB / 203.6 MB, free: 5.766 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.03572/0.03572, allocations: 9.143 MB / 269.1 MB, free: 4.5 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.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 397.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.901e-05, allocations: 2.281 kB / 397.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003663/0.003682, allocations: 3.136 MB / 401 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.005061, allocations: 0.9766 MB / 401.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.005227, allocations: 15.81 kB / 402 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.005518, allocations: 83.12 kB / 402 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.005718, allocations: 55.41 kB / 402.1 MB, free: 12.22 MB / 378.7 MB [/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: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:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.006488, allocations: 362.1 kB / 402.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.007082, allocations: 483.9 kB / 402.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.00743, allocations: 185.1 kB / 403.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.007688, allocations: 319.4 kB / 403.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.007941, allocations: 223.3 kB / 403.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.008004, allocations: 52 kB / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.008245, allocations: 207.7 kB / 403.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.008385, allocations: 167.5 kB / 404 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.008505, allocations: 151.5 kB / 404.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.009174, allocations: 0.7904 MB / 405 MB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.009178, allocations: 0 / 405 MB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.009179, allocations: 0 / 405 MB, free: 9.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.009187, allocations: 0 / 405 MB, free: 9.32 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive2_1.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001403/0.01059, allocations: 1.215 MB / 406.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.01065, allocations: 12.03 kB / 406.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.877e-05/0.01074, allocations: 102.7 kB / 406.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.01083, allocations: 60.56 kB / 406.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.01115, allocations: 303.1 kB / 406.7 MB, free: 7.512 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.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.0001125/0.01127, allocations: 101.3 kB / 406.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.01132, allocations: 52.38 kB / 406.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.013, allocations: 1.678 MB / 408.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01302, allocations: 4.125 kB / 408.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.01305, allocations: 24.36 kB / 408.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.01307, allocations: 15.94 kB / 408.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.01348, allocations: 322.7 kB / 408.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.01429, allocations: 1.055 MB / 409.9 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.01538, allocations: 0.8067 MB / 410.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.01584, allocations: 458.1 kB / 411.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.199e-05/0.01593, allocations: 40.64 kB / 411.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.01597, allocations: 59.08 kB / 411.3 MB, free: 2.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.454e-06/0.01597, allocations: 4 kB / 411.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.001156/0.01713, allocations: 0.9389 MB / 412.2 MB, free: 1.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.01726, allocations: 247.1 kB / 412.4 MB, free: 1.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01743, allocations: 223.8 kB / 412.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.01746, allocations: 41.7 kB / 412.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.01755, allocations: 157.8 kB / 412.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.01758, allocations: 43.72 kB / 412.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.01764, allocations: 57.69 kB / 413 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01774, allocations: 330.8 kB / 413.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.01778, allocations: 27.98 kB / 413.3 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.01786, allocations: 108.8 kB / 413.4 MB, free: 428 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01798, allocations: 143 kB / 413.6 MB, free: 244 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01798, allocations: 0 / 413.6 MB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001693/0.01815, allocations: 181.1 kB / 413.7 MB, free: 56 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.01817, allocations: 7.938 kB / 413.7 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.01818, allocations: 4 kB / 413.7 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01819, allocations: 4 kB / 413.7 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.01829, allocations: 35.91 kB / 413.8 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.0183, allocations: 4 kB / 413.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.01836, allocations: 12.05 kB / 413.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.01837, allocations: 12.41 kB / 413.8 MB, free: 15.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 13 (integerExpression.y,integerExpression1.y,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001606/0.01853, allocations: 199.7 kB / 414 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007325/0.01926, allocations: 0.6553 MB / 414.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.02012, allocations: 0.7725 MB / 415.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.02013, allocations: 15.98 kB / 415.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.02014, allocations: 0 / 415.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.02015, allocations: 7.984 kB / 415.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.02055, allocations: 352.1 kB / 415.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.02056, allocations: 8.094 kB / 415.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.02083, allocations: 139.8 kB / 415.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.02084, allocations: 11.94 kB / 416 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.02087, allocations: 23.98 kB / 416 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.02088, allocations: 4 kB / 416 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02088, allocations: 0 / 416 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.0219, allocations: 1.139 MB / 417.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.02195, allocations: 63.5 kB / 417.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.02202, allocations: 27.94 kB / 417.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.02221, allocations: 16 kB / 417.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.02226, allocations: 15.98 kB / 417.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.0223, allocations: 39.94 kB / 417.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.0224, allocations: 144.6 kB / 417.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0224, allocations: 0 / 417.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004454/0.02285, allocations: 135.7 kB / 417.6 MB, free: 12.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002392/0.02524, allocations: 2.384 MB / 419.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.02569, allocations: 355.4 kB / 420.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02569, allocations: 0 / 420.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.02573, allocations: 31.98 kB / 420.3 MB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.02732, allocations: 2.039 MB / 422.4 MB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.02986, allocations: 3.119 MB / 425.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.03008, allocations: 305.3 kB / 425.8 MB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.702e-05/0.03014, allocations: 22.98 kB / 425.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.03027, allocations: 144.4 kB / 425.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03028, allocations: 0 / 425.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08262/0.1129, allocations: 12.09 MB / 438 MB, free: 7.609 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '809.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.TestSerialPackagerBitPack_UDP/809.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.TestSerialPackagerBitPack_UDP/809.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 \"809\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.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.3759430488571525]