Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 114 kB / 17.13 MB, free: 5.965 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.0009922/0.0009922, allocations: 187.1 kB / 18.06 MB, free: 5.047 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.31/1.31, allocations: 222.9 MB / 241.8 MB, free: 15.06 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.09047/0.09047, allocations: 12.05 MB / 304 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 420.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08832, allocations: 52.31 MB / 473.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.005065/0.09342, allocations: 3.219 MB / 476.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.09524, allocations: 0.9069 MB / 477.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.09554, allocations: 11.88 kB / 477.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.09595, allocations: 107.1 kB / 477.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.09618, allocations: 43.53 kB / 477.3 MB, free: 8.523 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.09714, allocations: 309.8 kB / 477.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.09765, allocations: 403.3 kB / 478 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.09804, allocations: 238.2 kB / 478.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.09828, allocations: 175.4 kB / 478.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.09857, allocations: 203 kB / 478.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/0.09866, allocations: 40 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.09896, allocations: 155.9 kB / 478.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.09911, allocations: 123.6 kB / 479 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.09933, allocations: 202.9 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.1, allocations: 0.584 MB / 479.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1, allocations: 3.938 kB / 479.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1, allocations: 0 / 479.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1001, allocations: 0 / 479.7 MB, free: 6.113 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001405/0.1015, allocations: 0.9075 MB / 480.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1015, allocations: 8.031 kB / 480.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1016, allocations: 52.36 kB / 480.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.102, allocations: 330.5 kB / 481 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.1021, allocations: 33.36 kB / 481.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/0.1021, allocations: 36.38 kB / 481.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.1028, allocations: 432.8 kB / 481.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1028, allocations: 192 / 481.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.1029, allocations: 19.94 kB / 481.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1029, allocations: 8 kB / 481.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1033, allocations: 245.1 kB / 481.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.1049, allocations: 1.275 MB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.1055, allocations: 306.7 kB / 483.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1057, allocations: 147.4 kB / 483.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.1058, allocations: 7.984 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.1061, allocations: 267.1 kB / 483.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.1061, allocations: 3.938 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009748/0.1071, allocations: 0.5248 MB / 484.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.1072, allocations: 148.5 kB / 484.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1075, allocations: 260.8 kB / 484.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.1076, allocations: 41.7 kB / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1077, allocations: 200.6 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1078, allocations: 102.8 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.108, allocations: 110.2 kB / 485.1 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1081, allocations: 346.8 kB / 485.5 MB, free: 8 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1084, allocations: 121.2 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.1087, allocations: 280.4 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.1096, allocations: 0.6759 MB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.1096, allocations: 4 kB / 486.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008738/0.1105, allocations: 0.5623 MB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.1105, allocations: 67.39 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.1106, allocations: 4 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1106, allocations: 8 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1108, allocations: 63.84 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1108, allocations: 8.562 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.111, allocations: 51.53 kB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.111, allocations: 23.98 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) "Number of received bytes" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0002742/0.1113, allocations: 219.9 kB / 487.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1114, allocations: 43.55 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.1115, allocations: 30.95 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1115, allocations: 4 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1115, allocations: 0 / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.1115, allocations: 0 / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1127, allocations: 0.8622 MB / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1127, allocations: 0 / 488.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1127, allocations: 11.94 kB / 488.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1127, allocations: 0 / 488.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1128, allocations: 19.98 kB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1128, allocations: 0 / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1128, allocations: 4.062 kB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.1135, allocations: 0.5419 MB / 489.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.1136, allocations: 104.7 kB / 489.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.1136, allocations: 15.98 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1137, allocations: 4 kB / 489.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.1138, allocations: 27.91 kB / 489.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.1139, allocations: 19.98 kB / 489.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.114, allocations: 156.5 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.114, allocations: 0 / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005102/0.1145, allocations: 147.6 kB / 489.5 MB, free: 11.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 21 * 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.0009065/0.1154, allocations: 447.2 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.1161, allocations: 0.4895 MB / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1162, allocations: 0 / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1164, allocations: 185.4 kB / 490.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1169, allocations: 50.02 kB / 490.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.118, allocations: 0.6631 MB / 491.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.1184, allocations: 0.815 MB / 492.2 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.1185, allocations: 23.44 kB / 492.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1185, allocations: 0 / 492.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Templates: time 0.009606/0.1281, allocations: 5.932 MB / 498.1 MB, free: 3.078 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile clang++ -std=c++17 -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.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.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_TCPIPServerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.cpp:575: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) { ^ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o] Error 1