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: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.4 kB / 16.69 MB, free: 6.27 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.001424/0.001424, allocations: 191.8 kB / 17.61 MB, free: 5.73 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.446/1.446, allocations: 222.9 MB / 241.3 MB, free: 15.41 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.06246/0.06246, allocations: 12.04 MB / 303.5 MB, free: 3.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 75.81 kB / 366.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2063, allocations: 52.32 MB / 418.9 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003628/0.21, allocations: 2.292 MB / 421.2 MB, free: 19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2114, allocations: 0.9421 MB / 422.2 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2116, allocations: 13.72 kB / 422.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2118, allocations: 63.56 kB / 422.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.2121, allocations: 35.78 kB / 422.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007075/0.2128, allocations: 279.5 kB / 422.6 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2131, allocations: 387.8 kB / 422.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.2134, allocations: 263 kB / 423.2 MB, free: 17.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.2135, allocations: 187.3 kB / 423.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.2137, allocations: 223 kB / 423.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.2138, allocations: 40 kB / 423.6 MB, free: 16.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.214, allocations: 203.8 kB / 423.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2142, allocations: 143.6 kB / 424 MB, free: 16.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2143, allocations: 222.7 kB / 424.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2147, allocations: 491.1 kB / 424.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2147, allocations: 0 / 424.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2147, allocations: 0 / 424.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2147, allocations: 0 / 424.7 MB, free: 15.55 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.001243/0.216, allocations: 1.094 MB / 425.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.216, allocations: 12.03 kB / 425.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.2161, allocations: 48.38 kB / 425.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2164, allocations: 335.4 kB / 426.2 MB, free: 13.94 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 0.0001021/0.2165, allocations: 96.97 kB / 426.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.2166, allocations: 44.38 kB / 426.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.218, allocations: 1.142 MB / 427.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.218, allocations: 0 / 427.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.2181, allocations: 20 kB / 427.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.2181, allocations: 16 kB / 427.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.2185, allocations: 312 kB / 427.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009904/0.2195, allocations: 1.393 MB / 429.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.2204, allocations: 1.357 MB / 430.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.2208, allocations: 400.6 kB / 430.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.2209, allocations: 43.97 kB / 431 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.2211, allocations: 174.1 kB / 431.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/0.2211, allocations: 0 / 431.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001137/0.2223, allocations: 0.8137 MB / 431.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.2224, allocations: 330.6 kB / 432.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2225, allocations: 216.1 kB / 432.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2226, allocations: 38.45 kB / 432.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.2227, allocations: 169.4 kB / 432.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.2227, allocations: 79.41 kB / 432.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.2228, allocations: 134.7 kB / 432.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.2229, allocations: 346.8 kB / 433.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2231, allocations: 121.9 kB / 433.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.2234, allocations: 0.5742 MB / 433.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.2239, allocations: 0.7758 MB / 434.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.2239, allocations: 8 kB / 434.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007594/0.2247, allocations: 0.6732 MB / 435.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2247, allocations: 12 kB / 435.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2248, allocations: 19.98 kB / 435.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.2248, allocations: 27.94 kB / 435.4 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.2251, allocations: 147.7 kB / 435.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.2252, allocations: 35.86 kB / 435.6 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.2254, allocations: 60.03 kB / 435.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2255, allocations: 52 kB / 435.7 MB, free: 3.352 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.0002527/0.2258, allocations: 258.5 kB / 436 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.2263, allocations: 489.8 kB / 436.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/0.2273, allocations: 0.686 MB / 437.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.2273, allocations: 12 kB / 437.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2274, allocations: 3.984 kB / 437.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2274, allocations: 4 kB / 437.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.2279, allocations: 0.6344 MB / 437.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.228, allocations: 7.984 kB / 437.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2283, allocations: 103.8 kB / 437.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2283, allocations: 8 kB / 437.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.2283, allocations: 23.98 kB / 437.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2283, allocations: 7.938 kB / 437.9 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2284, allocations: 4 kB / 437.9 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.2292, allocations: 0.7925 MB / 438.7 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.2292, allocations: 128.5 kB / 438.9 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.2293, allocations: 20 kB / 438.9 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2294, allocations: 16 kB / 438.9 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.2295, allocations: 27.84 kB / 438.9 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.2296, allocations: 31.98 kB / 439 MB, free: 15.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2297, allocations: 151.5 kB / 439.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2297, allocations: 0 / 439.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007216/0.2305, allocations: 159.8 kB / 439.3 MB, free: 15.67 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.0009945/0.2315, allocations: 375 kB / 439.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2333, allocations: 1.324 MB / 441 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2333, allocations: 0.8125 kB / 441 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.234, allocations: 0.769 MB / 441.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.2359, allocations: 1.205 MB / 442.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.2378, allocations: 1.162 MB / 444.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.2383, allocations: 0.8792 MB / 445 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2385, allocations: 39.44 kB / 445 MB, free: 9.812 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2385, allocations: 0 / 445 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Templates: time 0.0118/0.2503, allocations: 6.839 MB / 451.8 MB, free: 3.008 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:524: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.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:545: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) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:566:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(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:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:242:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:243:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:244:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:310:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:330:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:331:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:332:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:391:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 13 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1