Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 101 kB / 20.52 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 213.6 kB / 23.84 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06359/0.06359, allocations: 12.21 MB / 326.2 MB, free: 7.258 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 454.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 56.4 MB / 0.4986 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005816/0.1497, allocations: 3.202 MB / 0.5017 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.1521, allocations: 1.031 MB / 0.5027 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.1523, allocations: 15.88 kB / 0.5027 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1526, allocations: 83.14 kB / 0.5028 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1528, allocations: 51.47 kB / 0.5029 GB, free: 12.11 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 master/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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'. Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.154, allocations: 365.4 kB / 0.5032 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.1545, allocations: 476 kB / 0.5037 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003708/0.1549, allocations: 189.4 kB / 0.5039 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1551, allocations: 239.2 kB / 0.5041 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1555, allocations: 282.8 kB / 0.5044 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.1556, allocations: 52 kB / 0.5044 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.1559, allocations: 215.8 kB / 0.5046 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1561, allocations: 167.5 kB / 0.5048 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1564, allocations: 242.7 kB / 0.505 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.1574, allocations: 0.7547 MB / 0.5057 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1574, allocations: 0 / 0.5057 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1574, allocations: 0 / 0.5057 GB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1574, allocations: 0 / 0.5057 GB, free: 9.168 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive2_1.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002162/0.1595, allocations: 1.221 MB / 0.5069 GB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1596, allocations: 8.031 kB / 0.5069 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.037e-05/0.1596, allocations: 17.5 kB / 0.507 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.1597, allocations: 94.69 kB / 0.507 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1599, allocations: 72.56 kB / 0.5071 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1604, allocations: 295.8 kB / 0.5074 GB, free: 7.348 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.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.0001544/0.1605, allocations: 109.3 kB / 0.5075 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.1606, allocations: 52.38 kB / 0.5075 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.1633, allocations: 1.634 MB / 0.5091 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1633, allocations: 0 / 0.5091 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.1633, allocations: 20 kB / 0.5092 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.1634, allocations: 12 kB / 0.5092 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.164, allocations: 322.7 kB / 0.5095 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1653, allocations: 1.141 MB / 0.5106 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.1667, allocations: 0.8094 MB / 0.5114 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.1675, allocations: 462 kB / 0.5118 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.1676, allocations: 52.58 kB / 0.5119 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.1676, allocations: 43.22 kB / 0.5119 GB, free: 2.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.1677, allocations: 0 / 0.5119 GB, free: 2.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.001878/0.1695, allocations: 0.9505 MB / 0.5128 GB, free: 1.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.1697, allocations: 243.2 kB / 0.5131 GB, free: 1.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.17, allocations: 223 kB / 0.5133 GB, free: 1.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.1701, allocations: 41.7 kB / 0.5133 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1702, allocations: 158.4 kB / 0.5135 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.1703, allocations: 75.69 kB / 0.5136 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1704, allocations: 158.6 kB / 0.5137 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1706, allocations: 354.8 kB / 0.514 GB, free: 240 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1708, allocations: 125.9 kB / 0.5142 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2616/0.4325, allocations: 0.7196 MB / 0.5149 GB, free: 20.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.4331, allocations: 0.9352 MB / 0.5158 GB, free: 19.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4332, allocations: 8.438 kB / 0.5158 GB, free: 19.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009718/0.4341, allocations: 0.7837 MB / 0.5166 GB, free: 19.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4341, allocations: 13.97 kB / 0.5166 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4342, allocations: 22.31 kB / 0.5166 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/0.4342, allocations: 30.88 kB / 0.5166 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.4347, allocations: 190.1 kB / 0.5168 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/0.4347, allocations: 51.64 kB / 0.5168 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.435, allocations: 78.75 kB / 0.5169 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.4351, allocations: 54.81 kB / 0.517 GB, free: 19.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003712/0.4355, allocations: 292.7 kB / 0.5173 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.4365, allocations: 0.653 MB / 0.5179 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.4376, allocations: 0.7704 MB / 0.5186 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4376, allocations: 17.02 kB / 0.5187 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4377, allocations: 0 / 0.5187 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4377, allocations: 7.438 kB / 0.5187 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.4382, allocations: 429.2 kB / 0.5191 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.4382, allocations: 11.14 kB / 0.5191 GB, free: 19.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.4387, allocations: 144.1 kB / 0.5192 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4387, allocations: 3.125 kB / 0.5192 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.4387, allocations: 27.72 kB / 0.5193 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.4387, allocations: 8.094 kB / 0.5193 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4387, allocations: 7.969 kB / 0.5193 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.4398, allocations: 1.142 MB / 0.5204 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.4398, allocations: 56.64 kB / 0.5204 GB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.4399, allocations: 25.17 kB / 0.5205 GB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.4402, allocations: 17.47 kB / 0.5205 GB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.4402, allocations: 20.27 kB / 0.5205 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.4403, allocations: 39.62 kB / 0.5205 GB, free: 18.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.4404, allocations: 141 kB / 0.5207 GB, free: 18.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4404, allocations: 0 / 0.5207 GB, free: 18.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000882/0.4412, allocations: 168.1 kB / 0.5208 GB, free: 18.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002574/0.4438, allocations: 2.359 MB / 0.5231 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.4448, allocations: 0.6121 MB / 0.5237 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4448, allocations: 0 / 0.5237 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.4449, allocations: 28.28 kB / 0.5238 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.447, allocations: 2.031 MB / 0.5257 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.4527, allocations: 5.283 MB / 0.5309 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4531, allocations: 0.9095 MB / 0.5318 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.4533, allocations: 60.5 kB / 0.5318 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.4536, allocations: 145 kB / 0.532 GB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.804e-06/0.4536, allocations: 0 / 0.532 GB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.4963, allocations: 12.69 MB / 0.5444 GB, free: 6.727 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '809.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- 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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/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.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"809\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.518668707984034] Failed to read output from testmodel.py, exit status != 0: 0.9339845599606633 0.948510903 0.787890023 Calling exit ...