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.0007103/0.0007103, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007173/0.0007173, allocations: 165.9 kB / 24 MB, free: 0.5586 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.7979/0.7979, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.03363/0.03363, allocations: 9.133 MB / 269.9 MB, free: 4.477 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: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.855e-05, allocations: 2.281 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003148/0.003166, allocations: 2.317 MB / 400.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004198, allocations: 0.9223 MB / 401.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004307, allocations: 15.88 kB / 401.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.004491, allocations: 83.11 kB / 401.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.004656, allocations: 55.41 kB / 401.7 MB, free: 12.14 MB / 330.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.0005776/0.005234, allocations: 342.7 kB / 402 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.005511, allocations: 387.7 kB / 402.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.005708, allocations: 167.7 kB / 402.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.005893, allocations: 259.5 kB / 402.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.006073, allocations: 183.4 kB / 403 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.006111, allocations: 40 kB / 403.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.006301, allocations: 207.6 kB / 403.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.006399, allocations: 147.5 kB / 403.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.006485, allocations: 135.6 kB / 403.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.006983, allocations: 0.6891 MB / 404.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.006985, allocations: 0 / 404.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006986, allocations: 0 / 404.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.006991, allocations: 0 / 404.2 MB, free: 9.621 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg 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.001246/0.008237, allocations: 1.028 MB / 405.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.008264, allocations: 12.03 kB / 405.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.008338, allocations: 52.61 kB / 405.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.008579, allocations: 280.5 kB / 405.6 MB, free: 8.156 MB / 330.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 7.583e-05/0.008655, allocations: 100.9 kB / 405.7 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.008691, allocations: 44.38 kB / 405.7 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.00976, allocations: 1.164 MB / 406.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.009776, allocations: 8.109 kB / 406.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.009809, allocations: 23.92 kB / 406.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.009832, allocations: 16 kB / 406.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.01017, allocations: 312 kB / 407.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.01093, allocations: 1.179 MB / 408.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.01154, allocations: 0.6982 MB / 409.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.01186, allocations: 361.4 kB / 409.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/0.01194, allocations: 51.84 kB / 409.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.01208, allocations: 194.2 kB / 409.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 1.864e-06/0.01208, allocations: 0 / 409.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.0008718/0.01295, allocations: 0.8125 MB / 410.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.01307, allocations: 333.6 kB / 410.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.0132, allocations: 235 kB / 411.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.01323, allocations: 37.7 kB / 411.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.0133, allocations: 157.8 kB / 411.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.01333, allocations: 59.61 kB / 411.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.01339, allocations: 73.62 kB / 411.4 MB, free: 1.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/0.0137, allocations: 334.8 kB / 411.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.01376, allocations: 48.2 kB / 411.8 MB, free: 1.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.01386, allocations: 154.5 kB / 411.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01407, allocations: 236.6 kB / 412.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01407, allocations: 0 / 412.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000237/0.01431, allocations: 249.2 kB / 412.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01432, allocations: 8 kB / 412.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01433, allocations: 4 kB / 412.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.01434, allocations: 4 kB / 412.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.01443, allocations: 40.31 kB / 412.5 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01443, allocations: 4 kB / 412.5 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.01449, allocations: 27.83 kB / 412.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01451, allocations: 12.28 kB / 412.5 MB, free: 0.7422 MB / 330.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.0001714/0.01468, allocations: 203.7 kB / 412.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.01513, allocations: 0.4891 MB / 413.2 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1187/0.1339, allocations: 460 kB / 413.6 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.1339, allocations: 20.7 kB / 413.7 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1339, allocations: 3.188 kB / 413.7 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1339, allocations: 6.047 kB / 413.7 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.1344, allocations: 473.4 kB / 414.1 MB, free: 27.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.1344, allocations: 5.234 kB / 414.1 MB, free: 27.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1346, allocations: 107 kB / 414.2 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1346, allocations: 5.344 kB / 414.2 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1346, allocations: 25.05 kB / 414.3 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-06/0.1346, allocations: 11.61 kB / 414.3 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1346, allocations: 2.344 kB / 414.3 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.1352, allocations: 0.7812 MB / 415.1 MB, free: 27.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1353, allocations: 52.05 kB / 415.1 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.1353, allocations: 24.92 kB / 415.1 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.1354, allocations: 13.95 kB / 415.2 MB, free: 27.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1354, allocations: 29.89 kB / 415.2 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.1355, allocations: 32.31 kB / 415.2 MB, free: 27.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.1355, allocations: 148.3 kB / 415.4 MB, free: 27.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1355, allocations: 0 / 415.4 MB, free: 27.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.1359, allocations: 134.8 kB / 415.5 MB, free: 27 MB / 330.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.0004832/0.1364, allocations: 393 kB / 415.9 MB, free: 26.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005294/0.1369, allocations: 1.039 MB / 416.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1369, allocations: 1.312 kB / 416.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.1371, allocations: 0.7574 MB / 417.7 MB, free: 25.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.1378, allocations: 1.205 MB / 418.9 MB, free: 24.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.1387, allocations: 0.9459 MB / 419.8 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.1388, allocations: 273.2 kB / 420.1 MB, free: 23.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1389, allocations: 36.89 kB / 420.1 MB, free: 23.76 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1389, allocations: 0 / 420.1 MB, free: 23.76 MB / 330.7 MB Notification: Performance of Templates: time 0.005969/0.1448, allocations: 6.383 MB / 426.5 MB, free: 22.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' 452 | strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); | ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument 144 | extern char *strncpy (char *__restrict __dest, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 222 | if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:242:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' 242 | _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:243:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' 243 | _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:244:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 244 | _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; | ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:309:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 309 | if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:329:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' 329 | _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:330:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' 330 | _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:331:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 331 | _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:390:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 390 | if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { | ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.3550852313637733] Failed to read output from testmodel.py, exit status != 0: 0.1504116365686059 0.155525935 0.147329375 Calling exit ...