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.0009799/0.0009799, allocations: 107.1 kB / 16.03 MB, free: 6.32 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.001136/0.001136, allocations: 199.9 kB / 16.95 MB, free: 6.145 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.176/1.176, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05213/0.05213, allocations: 12.04 MB / 302.8 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 60.12 kB / 366.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 52.34 MB / 418.4 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002955/0.1686, allocations: 2.296 MB / 420.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1697, allocations: 0.9382 MB / 421.6 MB, free: 18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1698, allocations: 11.88 kB / 421.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.17, allocations: 63.58 kB / 421.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1702, allocations: 37.06 kB / 421.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1708, allocations: 286.9 kB / 422 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.171, allocations: 383.9 kB / 422.4 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.1713, allocations: 260.6 kB / 422.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1715, allocations: 183.3 kB / 422.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.1717, allocations: 227 kB / 423 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.1717, allocations: 44 kB / 423.1 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.1719, allocations: 199.8 kB / 423.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.172, allocations: 147.6 kB / 423.4 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1721, allocations: 218.7 kB / 423.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.1726, allocations: 0.6254 MB / 424.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1726, allocations: 0 / 424.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1726, allocations: 4 kB / 424.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1726, allocations: 4 kB / 424.3 MB, free: 15.34 MB / 302.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.001062/0.1737, allocations: 1.092 MB / 425.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.1737, allocations: 8.031 kB / 425.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.1738, allocations: 90.7 kB / 425.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.1738, allocations: 56.36 kB / 425.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1741, allocations: 327.5 kB / 425.8 MB, free: 13.64 MB / 302.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 7.591e-05/0.1742, allocations: 97.58 kB / 425.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1742, allocations: 52.36 kB / 426 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1755, allocations: 1.135 MB / 427.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1755, allocations: 7.938 kB / 427.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.1756, allocations: 16 kB / 427.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.1756, allocations: 20 kB / 427.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.176, allocations: 300 kB / 427.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.1769, allocations: 1.393 MB / 428.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.1777, allocations: 1.348 MB / 430.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.1781, allocations: 412.2 kB / 430.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.992e-05/0.1782, allocations: 43.91 kB / 430.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.1783, allocations: 170.2 kB / 430.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/0.1783, allocations: 0 / 430.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001063/0.1794, allocations: 0.8305 MB / 431.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.1795, allocations: 318.7 kB / 432 MB, free: 7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1797, allocations: 220.1 kB / 432.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.1797, allocations: 37.7 kB / 432.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1798, allocations: 169.3 kB / 432.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.1798, allocations: 75.69 kB / 432.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1799, allocations: 138.7 kB / 432.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.18, allocations: 350.8 kB / 432.9 MB, free: 6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1801, allocations: 117.9 kB / 433 MB, free: 5.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1804, allocations: 0.5781 MB / 433.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.1809, allocations: 0.768 MB / 434.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1809, allocations: 4 kB / 434.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00073/0.1817, allocations: 0.6771 MB / 435.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1817, allocations: 15.98 kB / 435.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1817, allocations: 19.94 kB / 435.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1817, allocations: 20 kB / 435.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1821, allocations: 151.7 kB / 435.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.1821, allocations: 31.86 kB / 435.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.1823, allocations: 63.53 kB / 435.4 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.1824, allocations: 44.59 kB / 435.4 MB, free: 3.059 MB / 302.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.0002329/0.1826, allocations: 262.5 kB / 435.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005694/0.1832, allocations: 493.8 kB / 436.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009125/0.1841, allocations: 0.6863 MB / 436.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.1842, allocations: 12 kB / 436.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1842, allocations: 7.984 kB / 436.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1842, allocations: 4 kB / 436.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1847, allocations: 0.6344 MB / 437.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.1847, allocations: 7.984 kB / 437.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.185, allocations: 103.8 kB / 437.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.185, allocations: 4 kB / 437.6 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.1851, allocations: 27.98 kB / 437.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1851, allocations: 4 kB / 437.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1851, allocations: 11.88 kB / 437.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007806/0.1859, allocations: 0.7783 MB / 438.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.186, allocations: 124.5 kB / 438.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.186, allocations: 27.94 kB / 438.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1862, allocations: 12 kB / 438.6 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1863, allocations: 31.78 kB / 438.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.1863, allocations: 31.98 kB / 438.6 MB, free: 15.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1864, allocations: 147.5 kB / 438.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1864, allocations: 4 kB / 438.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.187, allocations: 155.8 kB / 438.9 MB, free: 15.37 MB / 318.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.002173/0.1892, allocations: 1.925 MB / 440.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1905, allocations: 1.328 MB / 442.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1905, allocations: 384 / 442.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.1909, allocations: 0.7726 MB / 443 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.1923, allocations: 1.214 MB / 444.2 MB, free: 10.06 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.1959, allocations: 3.469 MB / 447.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1963, allocations: 0.8792 MB / 448.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.1965, allocations: 56.83 kB / 448.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1966, allocations: 139.4 kB / 448.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1966, allocations: 0 / 448.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.2175, allocations: 10.65 MB / 459.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.2178, allocations: 330.8 kB / 459.7 MB, free: 10.17 MB / 334.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:345: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:358: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:371: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:397:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.c:426: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:444: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:465: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