Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 124.8 kB / 17.14 MB, free: 5.914 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.001198/0.001198, allocations: 189.1 kB / 18.06 MB, free: 5 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.418/1.418, 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.05828/0.05828, allocations: 12.05 MB / 304 MB, free: 3.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 420.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.0889, allocations: 52.31 MB / 473.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.00451/0.09345, allocations: 2.791 MB / 475.8 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.09511, allocations: 0.86 MB / 476.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.0953, allocations: 11.94 kB / 476.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.09562, allocations: 67.33 kB / 476.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.09584, allocations: 55.52 kB / 476.8 MB, free: 9.008 MB / 350.1 MB [/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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.sendTo'. [/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:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.09661, allocations: 275.2 kB / 477.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.09707, allocations: 371 kB / 477.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.09744, allocations: 238.6 kB / 477.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.09766, allocations: 179.4 kB / 477.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.098, allocations: 219 kB / 478.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.09808, allocations: 44 kB / 478.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.09838, allocations: 183.8 kB / 478.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.0986, allocations: 147.5 kB / 478.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.0988, allocations: 198.9 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.09956, allocations: 0.623 MB / 479.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.09957, allocations: 0 / 479.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09958, allocations: 0 / 479.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.0996, allocations: 4 kB / 479.3 MB, free: 6.555 MB / 350.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 addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001751/0.1014, allocations: 1.088 MB / 480.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1014, allocations: 8.031 kB / 480.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1015, allocations: 48.36 kB / 480.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1019, allocations: 307.6 kB / 480.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.102, allocations: 29.38 kB / 480.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.1021, allocations: 40.36 kB / 480.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.1028, allocations: 464.3 kB / 481.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1029, allocations: 192 / 481.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.1029, allocations: 19.94 kB / 481.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1029, allocations: 11.98 kB / 481.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.1034, allocations: 257.9 kB / 481.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.105, allocations: 1.233 MB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.1055, allocations: 263.7 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.1058, allocations: 146.5 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.1058, allocations: 4 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.1062, allocations: 242.4 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.1062, allocations: 0 / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001/0.1072, allocations: 0.5378 MB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.1073, allocations: 130.8 kB / 484.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1075, allocations: 218 kB / 484.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.1075, allocations: 41.69 kB / 484.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1077, allocations: 192.3 kB / 484.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.1078, allocations: 94.83 kB / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.1079, allocations: 114.2 kB / 484.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1081, allocations: 338.8 kB / 485 MB, free: 456 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1083, allocations: 105 kB / 485.1 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.1086, allocations: 290.3 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.1091, allocations: 460 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.1092, allocations: 4 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007121/0.1099, allocations: 444.9 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1099, allocations: 8 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.1099, allocations: 8 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.11, allocations: 8 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.1102, allocations: 79.77 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1102, allocations: 15.88 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.1104, allocations: 36.19 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1105, allocations: 27.98 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (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,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.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],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.000261/0.1107, allocations: 226.9 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.1108, allocations: 23.72 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.1114, allocations: 370.8 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1114, allocations: 8 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1114, allocations: 4 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.1114, allocations: 0 / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1126, allocations: 0.8961 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1126, allocations: 0 / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1127, allocations: 15.92 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1127, allocations: 4 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1127, allocations: 15.98 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1127, allocations: 4 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1127, allocations: 4 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.1135, allocations: 0.5509 MB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1135, allocations: 100.8 kB / 488.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1136, allocations: 3.984 kB / 488.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1137, allocations: 8 kB / 488.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.1138, allocations: 31.84 kB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.1138, allocations: 15.98 kB / 488.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.1139, allocations: 120.1 kB / 488.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1139, allocations: 0 / 488.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000557/0.1145, allocations: 151.5 kB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (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,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],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,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.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 (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006814/0.1152, allocations: 350.2 kB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.1157, allocations: 332.4 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1157, allocations: 4 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.116, allocations: 148 kB / 489.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1165, allocations: 67.86 kB / 489.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1176, allocations: 0.6267 MB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.118, allocations: 0.7913 MB / 491.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.1181, allocations: 39.36 kB / 491.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1181, allocations: 0 / 491.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of Templates: time 0.008891/0.127, allocations: 5.616 MB / 497 MB, free: 4.219 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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"." -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_TCPIPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.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_TCPIPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.cpp:144:5: warning: expression result unused [-Wunused-value] tmp28; ^~~~~ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.cpp:488: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_TCPIPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.cpp:509: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_TCPIPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPFunctions.cpp:530: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) { ^ 1 warning and 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.o] Error 1