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.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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",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.001221/0.001221, allocations: 108.6 kB / 16.45 MB, free: 6.035 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.001167/0.001167, allocations: 189.3 kB / 17.39 MB, free: 5.559 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.05986/0.05986, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 63.89 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1122, allocations: 52.32 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.005748/0.118, allocations: 3.087 MB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1201, allocations: 0.9847 MB / 476 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.1204, allocations: 15.88 kB / 476 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1208, allocations: 83.19 kB / 476.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1212, allocations: 43.59 kB / 476.1 MB, free: 9.113 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.001196/0.1224, allocations: 334.7 kB / 476.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000591/0.123, allocations: 475.5 kB / 476.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.1234, allocations: 300.7 kB / 477.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1236, allocations: 215.2 kB / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1239, allocations: 250.8 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.124, allocations: 52 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.1243, allocations: 207.8 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1245, allocations: 171.5 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1247, allocations: 242.5 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.1255, allocations: 0.743 MB / 479 MB, free: 6.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1256, allocations: 3.938 kB / 479 MB, free: 6.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1256, allocations: 4 kB / 479.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1256, allocations: 0 / 479.1 MB, free: 6.156 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001808/0.1274, allocations: 1.219 MB / 480.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1275, allocations: 8.031 kB / 480.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.1276, allocations: 94.7 kB / 480.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.1277, allocations: 60.56 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.1283, allocations: 404.2 kB / 480.8 MB, free: 4.242 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 0.0001175/0.1284, allocations: 105 kB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.1285, allocations: 51.94 kB / 481 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.1305, allocations: 1.306 MB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1305, allocations: 3.938 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.1305, allocations: 16 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.1306, allocations: 20 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.1312, allocations: 375.6 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1335, allocations: 2.142 MB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1347, allocations: 1.198 MB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.1353, allocations: 451.1 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.1355, allocations: 48.31 kB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.1355, allocations: 58.88 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/0.1355, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.00176/0.1373, allocations: 0.9007 MB / 487.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/0.1375, allocations: 354.4 kB / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.1379, allocations: 302.8 kB / 488.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.138, allocations: 41.7 kB / 488.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1381, allocations: 193.5 kB / 488.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.1382, allocations: 99.42 kB / 488.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.1384, allocations: 158.7 kB / 488.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1387, allocations: 362.7 kB / 489 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1389, allocations: 165.9 kB / 489.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.1395, allocations: 0.6737 MB / 489.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.1405, allocations: 0.909 MB / 490.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.1405, allocations: 4 kB / 490.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001187/0.1417, allocations: 0.8223 MB / 491.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1417, allocations: 12 kB / 491.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1418, allocations: 20 kB / 491.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/0.1418, allocations: 24 kB / 491.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.1423, allocations: 175.7 kB / 491.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/0.1423, allocations: 35.86 kB / 491.8 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.1427, allocations: 75.56 kB / 491.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.1427, allocations: 51.98 kB / 491.9 MB, free: 8.086 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (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,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,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 (98): * Single equations (assignments): 97 * 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.0002974/0.143, allocations: 281.3 kB / 492.2 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008985/0.1439, allocations: 0.5174 MB / 492.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1451, allocations: 0.6747 MB / 493.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.1451, allocations: 12 kB / 493.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1451, allocations: 4 kB / 493.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.1451, allocations: 12.14 kB / 493.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.1461, allocations: 484.8 kB / 493.9 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.1461, allocations: 4 kB / 493.9 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.1465, allocations: 123.8 kB / 494 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1465, allocations: 4 kB / 494 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.1466, allocations: 23.98 kB / 494 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1466, allocations: 4 kB / 494 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1466, allocations: 7.938 kB / 494 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.1484, allocations: 1.835 MB / 495.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.1485, allocations: 140.6 kB / 496 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.1485, allocations: 24.03 kB / 496 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.149, allocations: 20 kB / 496.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1491, allocations: 23.91 kB / 496.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.1491, allocations: 31.94 kB / 496.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.1493, allocations: 197.9 kB / 496.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1493, allocations: 4 kB / 496.3 MB, free: 3.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001074/0.1504, allocations: 175.6 kB / 496.5 MB, free: 3.402 MB / 366.1 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.002767/0.1532, allocations: 2.647 MB / 499.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1546, allocations: 1.337 MB / 0.4887 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1546, allocations: 3.938 kB / 0.4887 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.1551, allocations: 0.782 MB / 0.4895 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.1574, allocations: 1.258 MB / 0.4907 GB, free: 13.32 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.1627, allocations: 4.017 MB / 0.4947 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.1634, allocations: 0.934 MB / 0.4956 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.1637, allocations: 88.67 kB / 0.4956 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.1639, allocations: 171.4 kB / 0.4958 GB, free: 7.465 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1639, allocations: 0 / 0.4958 GB, free: 7.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2498/0.4137, allocations: 12.63 MB / 0.5081 GB, free: 41.31 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/../binaries/linux64 -- Linking /usr/lib/x86_64-linux-gnu/libpthread.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /usr/lib/x86_64-linux-gnu/libpthread.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/context.c.o [ 32%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/division.c.o [ 34%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/list.c.o [ 41%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:369:96: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:382:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:395:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[4] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:421:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.fmutmp/sources/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c:453:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ 5 errors generated. gmake[2]: *** [CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/build.make:678: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2