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.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: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 100.8 kB / 16.56 MB, free: 6.723 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.001158/0.001158, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.301/1.301, allocations: 222.9 MB / 241.2 MB, free: 15.48 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.05594/0.05594, allocations: 12.04 MB / 303.3 MB, free: 3.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.12 kB / 366.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2012, allocations: 52.34 MB / 418.8 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003893/0.2052, allocations: 3.087 MB / 421.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2065, allocations: 1 MB / 422.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.2067, allocations: 7.938 kB / 422.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.207, allocations: 63.52 kB / 422.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.2073, allocations: 27.83 kB / 422.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.208, allocations: 307.4 kB / 423.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.2083, allocations: 450.9 kB / 423.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.2086, allocations: 280.3 kB / 424 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2088, allocations: 211.2 kB / 424.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.209, allocations: 262.8 kB / 424.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.2091, allocations: 40 kB / 424.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.2093, allocations: 187.8 kB / 424.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2094, allocations: 155.5 kB / 424.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2096, allocations: 234.6 kB / 425 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.21, allocations: 0.54 MB / 425.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.21, allocations: 0 / 425.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.21, allocations: 0 / 425.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.21, allocations: 0 / 425.6 MB, free: 14.5 MB / 302.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.001464/0.2115, allocations: 1.275 MB / 426.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2115, allocations: 8.031 kB / 426.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2116, allocations: 60.19 kB / 426.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.212, allocations: 361.6 kB / 427.3 MB, free: 12.66 MB / 302.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 9.836e-05/0.2121, allocations: 105.2 kB / 427.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.2121, allocations: 52.38 kB / 427.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.2141, allocations: 1.621 MB / 429 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2141, allocations: 7.875 kB / 429 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.2142, allocations: 20 kB / 429.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2142, allocations: 12 kB / 429.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.2147, allocations: 322.7 kB / 429.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.2155, allocations: 1.173 MB / 430.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2167, allocations: 1.546 MB / 432.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.2172, allocations: 0.502 MB / 432.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.2173, allocations: 48.7 kB / 432.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2174, allocations: 59.14 kB / 432.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.384e-06/0.2174, allocations: 0 / 432.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=98): time 0.001445/0.2188, allocations: 0.9387 MB / 433.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.219, allocations: 247.7 kB / 433.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2191, allocations: 231.9 kB / 434.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.2192, allocations: 41.7 kB / 434.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.2192, allocations: 149.8 kB / 434.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.2193, allocations: 71.5 kB / 434.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2194, allocations: 154.7 kB / 434.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.2195, allocations: 354.8 kB / 434.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2197, allocations: 125.9 kB / 435 MB, free: 4.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.2201, allocations: 0.7292 MB / 435.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.2207, allocations: 0.9215 MB / 436.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.2207, allocations: 8 kB / 436.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008274/0.2216, allocations: 0.7947 MB / 437.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2216, allocations: 16 kB / 437.5 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.2216, allocations: 20 kB / 437.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.2217, allocations: 28 kB / 437.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.2221, allocations: 195.6 kB / 437.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.2221, allocations: 43.84 kB / 437.7 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.2224, allocations: 75.31 kB / 437.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.2225, allocations: 56 kB / 437.9 MB, free: 0.9609 MB / 302.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.0002443/0.2227, allocations: 289.9 kB / 438.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009305/0.2237, allocations: 0.655 MB / 438.8 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.2251, allocations: 0.8032 MB / 439.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.2251, allocations: 15.98 kB / 439.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2252, allocations: 0 / 439.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2252, allocations: 11.92 kB / 439.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.2258, allocations: 464.6 kB / 440.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/0.2259, allocations: 4 kB / 440.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.2264, allocations: 143.8 kB / 440.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.2264, allocations: 4 kB / 440.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.2264, allocations: 31.98 kB / 440.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.2264, allocations: 4 kB / 440.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2265, allocations: 4.094 kB / 440.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2279, allocations: 1.138 MB / 441.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.2281, allocations: 132.3 kB / 441.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.2281, allocations: 28 kB / 441.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.2284, allocations: 20 kB / 441.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.2285, allocations: 7.984 kB / 441.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.2285, allocations: 35.94 kB / 441.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.2287, allocations: 143.5 kB / 441.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2287, allocations: 0 / 441.8 MB, free: 12.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009911/0.2297, allocations: 163.9 kB / 441.9 MB, free: 12.78 MB / 318.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.001047/0.2308, allocations: 393 kB / 442.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.2318, allocations: 0.6167 MB / 442.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2318, allocations: 0 / 442.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.2319, allocations: 24.55 kB / 443 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.2344, allocations: 2.078 MB / 445 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2363, allocations: 1.249 MB / 446.3 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.2368, allocations: 0.9034 MB / 447.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.2369, allocations: 43.42 kB / 447.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2369, allocations: 0 / 447.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of Templates: time 0.0105/0.2474, allocations: 7.184 MB / 454.4 MB, free: 256 kB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-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" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:522:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPFunctions.cpp:543:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 3 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1