Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.001053/0.001053, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002245, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.001007/0.001007, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002377, allocations: 472.2 kB / 11.64 MB, free: 2.531 MB / 13.93 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.8797/0.8797, allocations: 177.1 MB / 189.5 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1672/1.047, allocations: 53.67 MB / 243.2 MB, free: 2.34 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03664/0.03664, allocations: 9.157 MB / 253.1 MB, free: 8.918 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005093/0.04173, allocations: 3.454 MB / 256.5 MB, free: 5.461 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 257.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.288e-05, allocations: 2.312 kB / 257.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003573/0.003586, allocations: 3.286 MB / 261 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004886, allocations: 0.9921 MB / 262 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.00502, allocations: 19.81 kB / 262.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.005208, allocations: 91.06 kB / 262.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.005338, allocations: 39.59 kB / 262.2 MB, free: 15.77 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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.0006549/0.005993, allocations: 334.7 kB / 262.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.00638, allocations: 443.6 kB / 262.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.006608, allocations: 194.9 kB / 263.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.006926, allocations: 312.3 kB / 263.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.007176, allocations: 203.3 kB / 263.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.00723, allocations: 48 kB / 263.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.007469, allocations: 219.6 kB / 263.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.007576, allocations: 127.6 kB / 264 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.007666, allocations: 111.7 kB / 264.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.00814, allocations: 0.5291 MB / 264.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.008148, allocations: 4 kB / 264.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.008149, allocations: 0 / 264.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.008159, allocations: 0 / 264.7 MB, free: 13.27 MB / 266.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001071/0.00923, allocations: 1.041 MB / 265.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.009262, allocations: 8.625 kB / 265.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.009323, allocations: 94.62 kB / 265.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.009407, allocations: 84.88 kB / 265.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.009681, allocations: 293.3 kB / 266.2 MB, free: 11.66 MB / 266.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.666e-05/0.009757, allocations: 101 kB / 266.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.009805, allocations: 48.38 kB / 266.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.0106, allocations: 0.9598 MB / 267.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01062, allocations: 7.938 kB / 267.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.01065, allocations: 20 kB / 267.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.01068, allocations: 19.98 kB / 267.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.01085, allocations: 158.4 kB / 267.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01191, allocations: 1.822 MB / 269.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.01235, allocations: 478.2 kB / 269.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.01252, allocations: 215.1 kB / 270 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.0126, allocations: 52.42 kB / 270 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.01263, allocations: 54.98 kB / 270.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.01263, allocations: 0 / 270.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=83): time 0.0005609/0.0132, allocations: 429.7 kB / 270.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.01332, allocations: 354.8 kB / 270.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01347, allocations: 278.8 kB / 271.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.0135, allocations: 49.75 kB / 271.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01362, allocations: 170 kB / 271.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.01366, allocations: 75.44 kB / 271.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.01372, allocations: 85.56 kB / 271.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.0138, allocations: 338.8 kB / 271.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.01383, allocations: 27.98 kB / 271.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01394, allocations: 186.3 kB / 272 MB, free: 5.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.01412, allocations: 277 kB / 272.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01412, allocations: 4 kB / 272.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002094/0.01433, allocations: 232.9 kB / 272.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01434, allocations: 15.81 kB / 272.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01435, allocations: 8 kB / 272.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.01436, allocations: 8 kB / 272.6 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01449, allocations: 67.89 kB / 272.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.0145, allocations: 11.94 kB / 272.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.609e-05/0.01458, allocations: 31.78 kB / 272.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.0146, allocations: 12 kB / 272.7 MB, free: 4.543 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPSend.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,integrator1[1].local_reset,integrator1[2].local_reset,integrator1[3].local_reset) * 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 (36): * Single equations (assignments): 35 * 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.0001168/0.01472, allocations: 162.5 kB / 272.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.01504, allocations: 240.8 kB / 273.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.0154, allocations: 368.7 kB / 273.4 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.01542, allocations: 12 kB / 273.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01542, allocations: 4 kB / 273.5 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.01543, allocations: 7.984 kB / 273.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.01593, allocations: 284.7 kB / 273.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.01594, allocations: 7.984 kB / 273.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.01619, allocations: 135.8 kB / 273.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01619, allocations: 4 kB / 273.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.01622, allocations: 24.23 kB / 273.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.01623, allocations: 15.94 kB / 273.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01623, allocations: 8.062 kB / 273.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01656, allocations: 0.9247 MB / 274.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.0166, allocations: 67.41 kB / 274.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.01664, allocations: 20 kB / 274.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.01689, allocations: 19.98 kB / 275 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.01692, allocations: 23.91 kB / 275 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.01696, allocations: 27.98 kB / 275 MB, free: 2.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.851e-05/0.01702, allocations: 84.64 kB / 275.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01702, allocations: 0 / 275.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.0175, allocations: 155.6 kB / 275.3 MB, free: 1.891 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,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) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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.00146/0.01896, allocations: 2.081 MB / 277.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.01941, allocations: 0.9168 MB / 278.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.01942, allocations: 4.5 kB / 278.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.01972, allocations: 0.7461 MB / 279 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.02086, allocations: 1.086 MB / 280.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.02295, allocations: 2.261 MB / 282.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02308, allocations: 182.9 kB / 282.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.02315, allocations: 43.25 kB / 282.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.02338, allocations: 255.2 kB / 282.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02338, allocations: 0 / 282.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FMU documentation: time 0.02978/0.05316, allocations: 14.21 MB / 297 MB, free: 12.11 MB / 298.7 MB Notification: FMU-only work: backend 0.0007071, simCode 0.0007738, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06211/0.1153, allocations: 1.579 MB / 298.6 MB, free: 10.41 MB / 298.7 MB Notification: Building FMU for platform 'static' (1/1). Error: Error building simulator. Build log: cmd: cd '201.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DSIMULATION_RUNTIME_FMI_LIBRARY='/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libSimulationRuntimeFMI.a' -DSOLVER_LIBRARY_DIRECTORY='/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -DCMAKE_C_FLAGS=' -fPIC ' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- 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_UDP/201.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- ModelicaExternalC: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaStandardTables.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaIO.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaMatIO.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/libzlib.a -- C simulation runtime: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libSimulationRuntimeFMI.a -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/binaries/linux64 -- Target platform library directories: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Resources/Library/linux64 -- Linking system library pthread -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Resources/Library/linux64/libWs2_32.a -- SOLVER_LIBRARY_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc -- Solver libraries: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsolklu.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsollapackdense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsoldense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunmatrixsparse.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunmatrixdense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_core.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libklu.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libamd.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libcolamd.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libbtf.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsuitesparseconfig.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/liblis.a -- Not using FMI2_FUNCTION_PREFIX / FMI3_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsolklu.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsollapackdense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunlinsoldense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunmatrixsparse.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_sunmatrixdense.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_core.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libklu.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libamd.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libcolamd.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libbtf.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsuitesparseconfig.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/liblis.a -- Configuring done (0.2s) -- Generating done (0.0s) -- Build files have been written to: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/build_cmake_static [ 3%] Building C object CMakeFiles/omc_fmu_fmi2.dir/fmi-export/fmu2_model_interface.c.o [ 6%] Building C object CMakeFiles/omc_fmu_fmi2.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP_FMU2.c.o [ 6%] Built target omc_fmu_fmi2 [ 10%] Generating fmu2_interface.o [ 13%] Building C object CMakeFiles/201.dir/fmi-export/fmu3_model_interface.c.o In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu3_model_interface.c:151: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:486:13: warning: enumeration values 'model_state_configuration_mode' and 'model_state_cs_event_mode' not handled in switch [-Wswitch] 486 | switch (comp->state) | ^~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:505:13: warning: enumeration values 'model_state_configuration_mode' and 'model_state_cs_event_mode' not handled in switch [-Wswitch] 505 | switch (comp->state) | ^~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:2137:40: warning: comparison of different enumeration types ('fmi2Status' and 'fmi3Status') [-Wenum-compare] 2137 | if (setReal(comp, vr[i], value[i]) != fmiXOK) // to be implemented by the includer of this file | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:2167:43: warning: comparison of different enumeration types ('fmi2Status' and 'fmi3Status') [-Wenum-compare] 2167 | if (setInteger(comp, vr[i], value[i]) != fmiXOK) // to be implemented by the includer of this file | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:2196:43: warning: comparison of different enumeration types ('fmi2Status' and 'fmi3Status') [-Wenum-compare] 2196 | if (setBoolean(comp, vr[i], value[i]) != fmiXOK) // to be implemented by the includer of this file | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:2226:42: warning: comparison of different enumeration types ('fmi2Status' and 'fmi3Status') [-Wenum-compare] 2226 | if (setString(comp, vr[i], value[i]) != fmiXOK) // to be implemented by the includer of this file | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/fmi-export/fmu_model_interface.c.inc:2974:67: warning: comparison of different enumeration types ('fmi2Status' and 'fmi3Status') [-Wenum-compare] 2974 | if (vr < 0 || vr >= NUMBER_OF_REALS|| setReal(comp, vr, x[i]) != fmiXOK) { // to be implemented by the includer of this file | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 7 warnings generated. [ 17%] Building C object CMakeFiles/201.dir/simulation/solver/cvode_solver.c.o [ 20%] Building C object CMakeFiles/201.dir/simulation/solver/sundials_error.c.o [ 24%] Building C object CMakeFiles/201.dir/simulation/solver/sundials_util.c.o [ 27%] Building C object CMakeFiles/201.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c.o /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:386:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 386 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:399:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 399 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:412:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 412 | (data->localData[0]->booleanVars[4] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:446:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 446 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/201.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:475:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 475 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. gmake[2]: *** [CMakeFiles/201.dir/build.make:141: CMakeFiles/201.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:91: CMakeFiles/201.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.007674539461732]