Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 112.7 kB / 16.69 MB, free: 6.316 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.001206/0.001206, allocations: 189.9 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.429/1.429, 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.0642/0.0642, allocations: 12.04 MB / 303.5 MB, free: 3.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 366.6 MB, free: 4.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2335, allocations: 52.33 MB / 418.9 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.003741/0.2373, allocations: 2.946 MB / 421.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2388, allocations: 1.195 MB / 423.1 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.239, allocations: 12.62 kB / 423.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2393, allocations: 51.59 kB / 423.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.2395, allocations: 55.05 kB / 423.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.2402, allocations: 255.5 kB / 423.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2405, allocations: 407 kB / 423.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.2409, allocations: 244.8 kB / 424.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.2411, allocations: 199.2 kB / 424.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.2413, allocations: 242.9 kB / 424.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.2414, allocations: 44 kB / 424.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.2417, allocations: 191.8 kB / 424.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2418, allocations: 151.6 kB / 424.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.2419, allocations: 226.7 kB / 425.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.2423, allocations: 0.4971 MB / 425.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2423, allocations: 8 kB / 425.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2423, allocations: 0 / 425.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2423, allocations: 0 / 425.6 MB, free: 14.59 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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001239/0.2436, allocations: 1.143 MB / 426.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2436, allocations: 8.031 kB / 426.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.2437, allocations: 52.38 kB / 426.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.244, allocations: 320.5 kB / 427.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.244, allocations: 37.36 kB / 427.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.2441, allocations: 36.38 kB / 427.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.2448, allocations: 0.4939 MB / 427.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.2448, allocations: 0 / 427.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.2448, allocations: 15.94 kB / 427.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2448, allocations: 12 kB / 427.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.2452, allocations: 266 kB / 428 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2464, allocations: 1.463 MB / 429.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2469, allocations: 321.2 kB / 429.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2471, allocations: 164.5 kB / 429.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.2471, allocations: 4 kB / 429.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.2474, allocations: 264 kB / 430.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.2474, allocations: 0 / 430.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.0008651/0.2483, allocations: 0.5995 MB / 430.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.2484, allocations: 186.4 kB / 431 MB, free: 8.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.2485, allocations: 251.8 kB / 431.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2486, allocations: 41.7 kB / 431.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.2487, allocations: 205 kB / 431.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.2487, allocations: 114.6 kB / 431.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2488, allocations: 122.2 kB / 431.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.2489, allocations: 346.8 kB / 432 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2491, allocations: 125 kB / 432.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.2493, allocations: 340.9 kB / 432.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.2498, allocations: 0.5145 MB / 433 MB, free: 6.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2498, allocations: 0 / 433 MB, free: 6.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006067/0.2504, allocations: 0.4965 MB / 433.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2504, allocations: 8.906 kB / 433.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2505, allocations: 8 kB / 433.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2505, allocations: 15.94 kB / 433.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2507, allocations: 83.83 kB / 433.6 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.2507, allocations: 19.92 kB / 433.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2509, allocations: 39.59 kB / 433.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2509, allocations: 24 kB / 433.7 MB, free: 5.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001977/0.2512, allocations: 241.8 kB / 433.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.2512, allocations: 27.72 kB / 434 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.2517, allocations: 396.8 kB / 434.3 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2517, allocations: 4 kB / 434.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2517, allocations: 0 / 434.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2517, allocations: 4 kB / 434.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009356/0.2527, allocations: 0.9584 MB / 435.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2527, allocations: 4 kB / 435.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.2527, allocations: 12 kB / 435.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2527, allocations: 7.984 kB / 435.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2528, allocations: 7.984 kB / 435.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2528, allocations: 11.88 kB / 435.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2528, allocations: 384 / 435.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.2534, allocations: 0.6001 MB / 436 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2535, allocations: 108.7 kB / 436.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.2535, allocations: 11.94 kB / 436.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2537, allocations: 7.984 kB / 436.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2537, allocations: 31.98 kB / 436.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2538, allocations: 19.92 kB / 436.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.932e-05/0.2539, allocations: 143.2 kB / 436.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 0 / 436.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000525/0.2544, allocations: 159.6 kB / 436.4 MB, free: 3.047 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * 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.0008721/0.2553, allocations: 341.2 kB / 436.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.2559, allocations: 416.5 kB / 437.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2559, allocations: 0.625 kB / 437.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.2561, allocations: 175.8 kB / 437.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.2567, allocations: 78.06 kB / 437.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2579, allocations: 0.8899 MB / 438.3 MB, free: 1.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.2582, allocations: 0.8111 MB / 439.1 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.2582, allocations: 39.36 kB / 439.2 MB, free: 308 kB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2582, allocations: 0 / 439.2 MB, free: 308 kB / 302.1 MB Notification: Performance of Templates: time 0.01016/0.2684, allocations: 6.201 MB / 445.4 MB, free: 10.13 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.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.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:493: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.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:514: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.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:535: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) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.o] Error 1