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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004633/0.004632, allocations: 89 kB / 15.91 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 197.2 kB / 16.83 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1444/0.1444, allocations: 12.02 MB / 302.7 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 60.09 kB / 365.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08048/0.08155, allocations: 52.33 MB / 418.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003519/0.0851, allocations: 2.269 MB / 420.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.08655, allocations: 0.9538 MB / 421.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.08666, allocations: 11.88 kB / 421.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.08688, allocations: 67.52 kB / 421.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.08706, allocations: 39.77 kB / 421.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.08766, allocations: 267.5 kB / 421.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.08798, allocations: 367.8 kB / 422.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.0883, allocations: 259.9 kB / 422.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.08845, allocations: 175.3 kB / 422.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.08868, allocations: 219 kB / 422.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.08874, allocations: 32 kB / 422.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.08899, allocations: 191.8 kB / 423 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.08912, allocations: 131.6 kB / 423.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.08928, allocations: 214.7 kB / 423.4 MB, free: 384 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1354/0.2247, allocations: 0.603 MB / 424 MB, free: 38.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2247, allocations: 0 / 424 MB, free: 38.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2247, allocations: 0.5625 kB / 424 MB, free: 38.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2248, allocations: 0 / 424 MB, free: 38.54 MB / 350.1 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.001196/0.226, allocations: 1.094 MB / 425.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.226, allocations: 8.281 kB / 425.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.2261, allocations: 90 kB / 425.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.2262, allocations: 51.2 kB / 425.2 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2264, allocations: 336.8 kB / 425.5 MB, free: 37.58 MB / 350.1 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 8.695e-05/0.2265, allocations: 98.84 kB / 425.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.2266, allocations: 43.25 kB / 425.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2278, allocations: 1.155 MB / 426.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2279, allocations: 1.875 kB / 426.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.2279, allocations: 19.25 kB / 426.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.2279, allocations: 16.56 kB / 426.9 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.2284, allocations: 305.7 kB / 427.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.2292, allocations: 1.387 MB / 428.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.23, allocations: 1.346 MB / 429.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.2304, allocations: 406.2 kB / 430.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.2305, allocations: 46.53 kB / 430.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.2307, allocations: 170.7 kB / 430.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.2307, allocations: 0 / 430.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.001068/0.2317, allocations: 0.8186 MB / 431.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.2318, allocations: 331.5 kB / 431.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.232, allocations: 212.4 kB / 431.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.232, allocations: 42.98 kB / 431.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.2321, allocations: 162.3 kB / 432.1 MB, free: 34.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.2321, allocations: 79.53 kB / 432.1 MB, free: 34.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2322, allocations: 138 kB / 432.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.2323, allocations: 349.2 kB / 432.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.2325, allocations: 120.4 kB / 432.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.2327, allocations: 0.5818 MB / 433.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.2332, allocations: 0.7741 MB / 434.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2333, allocations: 6.656 kB / 434.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007261/0.234, allocations: 0.6694 MB / 434.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.234, allocations: 9.469 kB / 434.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.234, allocations: 25.62 kB / 434.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2341, allocations: 22.88 kB / 434.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.2344, allocations: 147.4 kB / 435 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.2344, allocations: 28.61 kB / 435 MB, free: 32.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.2347, allocations: 69.41 kB / 435.1 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.2347, allocations: 51.83 kB / 435.1 MB, free: 32.8 MB / 350.1 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: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.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 (85): * Single equations (assignments): 84 * 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.0002215/0.235, allocations: 251.8 kB / 435.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.2355, allocations: 495 kB / 435.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009045/0.2365, allocations: 0.6855 MB / 436.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.2365, allocations: 13.03 kB / 436.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2365, allocations: 3.344 kB / 436.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2365, allocations: 4.531 kB / 436.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.237, allocations: 0.6403 MB / 437.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.237, allocations: 6.656 kB / 437.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.2373, allocations: 100.8 kB / 437.3 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2373, allocations: 5.375 kB / 437.3 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.2374, allocations: 24.86 kB / 437.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2374, allocations: 6.719 kB / 437.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2374, allocations: 8.25 kB / 437.3 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007769/0.2382, allocations: 0.7817 MB / 438.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2382, allocations: 125.1 kB / 438.2 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.2383, allocations: 21.81 kB / 438.3 MB, free: 31.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2384, allocations: 15.78 kB / 438.3 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2385, allocations: 24.38 kB / 438.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.2385, allocations: 30.58 kB / 438.3 MB, free: 31.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.2386, allocations: 157 kB / 438.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2386, allocations: 0 / 438.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005861/0.2392, allocations: 163.7 kB / 438.6 MB, free: 31.16 MB / 350.1 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.001799/0.241, allocations: 1.924 MB / 440.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008255/0.2419, allocations: 1.247 MB / 441.8 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2419, allocations: 2.906 kB / 441.8 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.2422, allocations: 0.7736 MB / 442.6 MB, free: 28.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2433, allocations: 1.208 MB / 443.8 MB, free: 27.58 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.2461, allocations: 3.457 MB / 447.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2463, allocations: 0.8868 MB / 448.1 MB, free: 24.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.2465, allocations: 52.09 kB / 448.2 MB, free: 24.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2466, allocations: 132.5 kB / 448.3 MB, free: 23.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2466, allocations: 2.875 kB / 448.3 MB, free: 23.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.264, allocations: 10.37 MB / 458.7 MB, free: 23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.2642, allocations: 337.2 kB / 459 MB, free: 22.62 MB / 350.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.o Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c In file included from Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:7: In file included from ./Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:328:96: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[17]/* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:341:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[18]/* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:354:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[3]/* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:380:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:409:5: warning: implicit declaration of function 'handleBaseClock' is invalid in C99 [-Wimplicit-function-declaration] handleBaseClock(data, threadData, 0, data->localData[0]->timeValue); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:427:5: warning: implicit declaration of function 'handleBaseClock' is invalid in C99 [-Wimplicit-function-declaration] handleBaseClock(data, threadData, 1, data->localData[0]->timeValue); ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:448:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ 4 warnings and 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.o] Error 1