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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8402/0.8402, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03397/0.03397, allocations: 9.139 MB / 269.9 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 398.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.054e-05, allocations: 2.281 kB / 398.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.002798/0.002819, allocations: 2.853 MB / 401.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.00394, allocations: 0.8287 MB / 402 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.00404, allocations: 19.88 kB / 402 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.004253, allocations: 71.2 kB / 402.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.004401, allocations: 47.53 kB / 402.1 MB, free: 12.91 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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 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 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.0005097/0.00491, allocations: 290.9 kB / 402.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.00518, allocations: 366.9 kB / 402.8 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.005376, allocations: 127.3 kB / 402.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005539, allocations: 259.5 kB / 403.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.005711, allocations: 171.5 kB / 403.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.005748, allocations: 44 kB / 403.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.005926, allocations: 199.6 kB / 403.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.006022, allocations: 143.5 kB / 403.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.006104, allocations: 127.6 kB / 403.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.00657, allocations: 0.6579 MB / 404.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.006572, allocations: 0 / 404.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006573, allocations: 0 / 404.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006578, allocations: 0 / 404.5 MB, free: 10.55 MB / 378.7 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.001015/0.007593, allocations: 1.021 MB / 405.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.007623, allocations: 8.031 kB / 405.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.007686, allocations: 44.66 kB / 405.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.007888, allocations: 245.2 kB / 405.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.007914, allocations: 37.3 kB / 405.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.007946, allocations: 36.38 kB / 405.9 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.008397, allocations: 460.2 kB / 406.3 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.008409, allocations: 192 / 406.3 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.008433, allocations: 20.36 kB / 406.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.008441, allocations: 8.375 kB / 406.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.008718, allocations: 253.9 kB / 406.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.009528, allocations: 1.053 MB / 407.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.009843, allocations: 243.8 kB / 407.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.009969, allocations: 130.5 kB / 408 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.009991, allocations: 7.984 kB / 408 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.0102, allocations: 238.3 kB / 408.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.0102, allocations: 0 / 408.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007521/0.01096, allocations: 0.545 MB / 408.8 MB, free: 5.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.01101, allocations: 130.7 kB / 408.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01114, allocations: 219.6 kB / 409.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01116, allocations: 37.7 kB / 409.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.01124, allocations: 208.7 kB / 409.4 MB, free: 5.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.0113, allocations: 99.2 kB / 409.5 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.01138, allocations: 106.2 kB / 409.6 MB, free: 5.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.01146, allocations: 342.8 kB / 409.9 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01157, allocations: 104.9 kB / 410 MB, free: 4.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01175, allocations: 296.9 kB / 410.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.01209, allocations: 455.6 kB / 410.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01209, allocations: 3.938 kB / 410.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004096/0.0125, allocations: 452.7 kB / 411.2 MB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01251, allocations: 8 kB / 411.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01252, allocations: 4.781 kB / 411.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01253, allocations: 12 kB / 411.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01266, allocations: 71.84 kB / 411.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01267, allocations: 19.92 kB / 411.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.01275, allocations: 27.78 kB / 411.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.01277, allocations: 24 kB / 411.4 MB, free: 3.184 MB / 378.7 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.0001556/0.01293, allocations: 230.8 kB / 411.6 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.01296, allocations: 35.84 kB / 411.6 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.01332, allocations: 360.9 kB / 412 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01333, allocations: 4 kB / 412 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.01333, allocations: 0 / 412 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01334, allocations: 7.922 kB / 412 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.01398, allocations: 0.7671 MB / 412.8 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01398, allocations: 0 / 412.8 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.01401, allocations: 19.88 kB / 412.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01401, allocations: 0 / 412.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.01402, allocations: 11.98 kB / 412.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01403, allocations: 8 kB / 412.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01403, allocations: 0 / 412.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.01446, allocations: 0.5473 MB / 413.3 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.01448, allocations: 23.8 kB / 413.4 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.0145, allocations: 11.98 kB / 413.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.01455, allocations: 11.92 kB / 413.4 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.01459, allocations: 15.97 kB / 413.4 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.01461, allocations: 16 kB / 413.4 MB, free: 1.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.174e-05/0.01467, allocations: 128.1 kB / 413.6 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 413.6 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.01497, allocations: 143.5 kB / 413.7 MB, free: 0.7812 MB / 378.7 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.000482/0.01546, allocations: 389.9 kB / 414.1 MB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.01579, allocations: 319.4 kB / 414.4 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01579, allocations: 1.562 kB / 414.4 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.01593, allocations: 135.9 kB / 414.5 MB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.01623, allocations: 72.91 kB / 414.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.01693, allocations: 0.6442 MB / 415.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.01704, allocations: 189.3 kB / 415.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01708, allocations: 28.48 kB / 415.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01708, allocations: 0 / 415.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Templates: time 0.005095/0.02218, allocations: 5.706 MB / 421.2 MB, free: 9.348 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.makefile [Timeout 660] 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' 452 | 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 144 | 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] 144 | tmp28; | ^~~~~ 1 warning and 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.3921509869396687] Failed to read output from testmodel.py, exit status != 0: 0.027191500179469585 0.03510176 0.026977837 Calling exit ...