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.0009371/0.0009374, allocations: 97.02 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008601/0.0008604, allocations: 182.5 kB / 16.96 MB, free: 6.895 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.258 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.1675/0.1675, allocations: 12.04 MB / 304.2 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8.281 kB / 368.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09564, allocations: 53.34 MB / 421.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002685/0.09836, allocations: 1.911 MB / 423.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.09982, allocations: 0.9305 MB / 424.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.09994, allocations: 7.938 kB / 424.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1001, allocations: 67.5 kB / 424.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1003, allocations: 35.78 kB / 424.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.101, allocations: 279.5 kB / 425 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.164/0.265, allocations: 364.1 kB / 425.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.2654, allocations: 241.6 kB / 425.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.2657, allocations: 136.2 kB / 425.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.2659, allocations: 168.2 kB / 425.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2659, allocations: 19.94 kB / 425.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.2663, allocations: 167.2 kB / 426 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2664, allocations: 113.9 kB / 426.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2665, allocations: 197.4 kB / 426.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.267, allocations: 0.5898 MB / 426.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.267, allocations: 0 / 426.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.267, allocations: 3.344 kB / 426.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2671, allocations: 1.594 kB / 426.9 MB, free: 35.91 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.001292/0.2684, allocations: 0.9982 MB / 427.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2684, allocations: 12.41 kB / 427.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.407e-05/0.2685, allocations: 88.94 kB / 428 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.2686, allocations: 53.25 kB / 428.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2689, allocations: 335.9 kB / 428.4 MB, free: 34.91 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 9.085e-05/0.269, allocations: 96.61 kB / 428.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2691, allocations: 46.77 kB / 428.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2704, allocations: 1.148 MB / 429.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2704, allocations: 4.641 kB / 429.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.2704, allocations: 18.44 kB / 429.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.2705, allocations: 18.09 kB / 429.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.2709, allocations: 312.2 kB / 430 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.2719, allocations: 1.384 MB / 431.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.2727, allocations: 1.341 MB / 432.8 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.2732, allocations: 418.6 kB / 433.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.2733, allocations: 36.52 kB / 433.2 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.2734, allocations: 178.2 kB / 433.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/0.2734, allocations: 0 / 433.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.001052/0.2745, allocations: 0.8059 MB / 434.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2746, allocations: 334.6 kB / 434.5 MB, free: 32.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2748, allocations: 216 kB / 434.7 MB, free: 31.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2748, allocations: 43.17 kB / 434.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.2749, allocations: 162.8 kB / 434.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.275, allocations: 79.17 kB / 435 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.275, allocations: 79.53 kB / 435.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.2751, allocations: 354.8 kB / 435.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2753, allocations: 120.9 kB / 435.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2756, allocations: 0.5736 MB / 436.1 MB, free: 30.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.2762, allocations: 0.7706 MB / 436.9 MB, free: 30.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.2763, allocations: 7.344 kB / 436.9 MB, free: 30.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.000811/0.2771, allocations: 0.6742 MB / 437.6 MB, free: 30.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2771, allocations: 14.72 kB / 437.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2771, allocations: 15.53 kB / 437.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.2772, allocations: 25.94 kB / 437.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.2775, allocations: 147.9 kB / 437.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.2775, allocations: 33.92 kB / 437.8 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2778, allocations: 56.31 kB / 437.9 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.2778, allocations: 49.8 kB / 437.9 MB, free: 30 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.0002371/0.2781, allocations: 257.3 kB / 438.2 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005526/0.2786, allocations: 0.494 MB / 438.7 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.2795, allocations: 0.6792 MB / 439.3 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.2796, allocations: 13.69 kB / 439.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2796, allocations: 7.375 kB / 439.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2796, allocations: 6.375 kB / 439.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.2801, allocations: 0.6303 MB / 440 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.2802, allocations: 10.11 kB / 440 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.2805, allocations: 106.9 kB / 440.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2805, allocations: 6.875 kB / 440.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.2805, allocations: 19.83 kB / 440.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.2805, allocations: 10.78 kB / 440.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2805, allocations: 0 / 440.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.2814, allocations: 0.7821 MB / 440.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2814, allocations: 126.7 kB / 441.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.2815, allocations: 29.81 kB / 441.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2817, allocations: 14.69 kB / 441.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.2817, allocations: 25.06 kB / 441.1 MB, free: 28.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.2818, allocations: 30.2 kB / 441.1 MB, free: 28.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.2819, allocations: 148.4 kB / 441.3 MB, free: 28.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2819, allocations: 0 / 441.3 MB, free: 28.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000609/0.2825, allocations: 164.7 kB / 441.5 MB, free: 28.87 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.001878/0.2844, allocations: 1.94 MB / 443.4 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000832/0.2852, allocations: 1.232 MB / 444.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2852, allocations: 0 / 444.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.2855, allocations: 0.7831 MB / 445.4 MB, free: 26.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.2868, allocations: 1.202 MB / 446.6 MB, free: 25.76 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.2898, allocations: 3.456 MB / 450.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2901, allocations: 0.8819 MB / 450.9 MB, free: 22.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.2902, allocations: 65.58 kB / 451 MB, free: 22.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2904, allocations: 138.2 kB / 451.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2904, allocations: 0 / 451.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5228/0.8132, allocations: 10.13 MB / 461.3 MB, free: 21.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8134, allocations: 336.5 kB / 461.6 MB, free: 21.05 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:155: ./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