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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 113.3 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 186.1 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 225.6 MB / 249.2 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06198/0.06198, allocations: 12.17 MB / 316.2 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 68.12 kB / 440.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2625, allocations: 55.17 MB / 495.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.004315/0.2668, allocations: 3.235 MB / 499.1 MB, free: 21.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2683, allocations: 0.9252 MB / 0.4883 GB, free: 20.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.2685, allocations: 12.38 kB / 0.4883 GB, free: 20.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.2688, allocations: 92.23 kB / 0.4884 GB, free: 20.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2689, allocations: 44.22 kB / 0.4885 GB, free: 20.63 MB / 366.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.0008121/0.2698, allocations: 313.3 kB / 0.4887 GB, free: 20.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2701, allocations: 403.6 kB / 0.4891 GB, free: 20.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.2704, allocations: 166.5 kB / 0.4893 GB, free: 20.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2706, allocations: 171.1 kB / 0.4895 GB, free: 19.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.2708, allocations: 208 kB / 0.4897 GB, free: 19.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.2709, allocations: 41.19 kB / 0.4897 GB, free: 19.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.2711, allocations: 166.2 kB / 0.4899 GB, free: 19.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2713, allocations: 127.7 kB / 0.49 GB, free: 19.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2714, allocations: 192.6 kB / 0.4902 GB, free: 19.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.272, allocations: 0.5885 MB / 0.4907 GB, free: 19.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.272, allocations: 0 / 0.4907 GB, free: 19.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.272, allocations: 1.094 kB / 0.4907 GB, free: 19.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.272, allocations: 0 / 0.4907 GB, free: 19.07 MB / 366.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.001337/0.2734, allocations: 0.925 MB / 0.4916 GB, free: 18.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2734, allocations: 8.656 kB / 0.4916 GB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2735, allocations: 57.14 kB / 0.4917 GB, free: 18.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.2738, allocations: 328.3 kB / 0.492 GB, free: 17.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.2739, allocations: 33.39 kB / 0.492 GB, free: 17.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.274, allocations: 35.41 kB / 0.4921 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.2746, allocations: 435.3 kB / 0.4925 GB, free: 17.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2746, allocations: 1.344 kB / 0.4925 GB, free: 17.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.2747, allocations: 20 kB / 0.4925 GB, free: 17.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2747, allocations: 8.219 kB / 0.4925 GB, free: 17.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.2751, allocations: 235.5 kB / 0.4927 GB, free: 17.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2764, allocations: 1.29 MB / 0.494 GB, free: 16.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.2768, allocations: 278.6 kB / 0.4943 GB, free: 16.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.277, allocations: 133.2 kB / 0.4944 GB, free: 16.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.2771, allocations: 3.312 kB / 0.4944 GB, free: 16.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.2774, allocations: 257.9 kB / 0.4946 GB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 4.809e-06/0.2774, allocations: 0 / 0.4946 GB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009801/0.2784, allocations: 0.524 MB / 0.4952 GB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2784, allocations: 161.4 kB / 0.4953 GB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.2787, allocations: 259.1 kB / 0.4956 GB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.2787, allocations: 46.34 kB / 0.4956 GB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.2788, allocations: 197.7 kB / 0.4958 GB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.2789, allocations: 112 kB / 0.4959 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.279, allocations: 115.6 kB / 0.496 GB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.2791, allocations: 348 kB / 0.4963 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2793, allocations: 114.6 kB / 0.4965 GB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.2796, allocations: 281.2 kB / 0.4967 GB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.2803, allocations: 0.6708 MB / 0.4974 GB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2803, allocations: 5.344 kB / 0.4974 GB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008501/0.2812, allocations: 0.555 MB / 0.4979 GB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.2812, allocations: 69.64 kB / 0.498 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.2812, allocations: 10.31 kB / 0.498 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.2813, allocations: 6.812 kB / 0.498 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.2815, allocations: 59.91 kB / 0.4981 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.2815, allocations: 11.84 kB / 0.4981 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2817, allocations: 44.91 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.2817, allocations: 23.22 kB / 0.4981 GB, free: 13.16 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.0003026/0.282, allocations: 232.5 kB / 0.4984 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.2821, allocations: 33.91 kB / 0.4984 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.2821, allocations: 29.92 kB / 0.4984 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2822, allocations: 4.688 kB / 0.4984 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2822, allocations: 1.719 kB / 0.4984 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2822, allocations: 5.062 kB / 0.4984 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.2832, allocations: 0.8724 MB / 0.4993 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.2832, allocations: 6.75 kB / 0.4993 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.2833, allocations: 5.5 kB / 0.4993 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2833, allocations: 1.375 kB / 0.4993 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.2833, allocations: 13.48 kB / 0.4993 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2833, allocations: 2.75 kB / 0.4993 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2833, allocations: 5.312 kB / 0.4993 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.284, allocations: 0.5296 MB / 0.4998 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.284, allocations: 109.1 kB / 0.4999 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.2841, allocations: 8.109 kB / 0.4999 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2842, allocations: 6.75 kB / 0.5 GB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.2842, allocations: 26.91 kB / 0.5 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.2843, allocations: 20.3 kB / 0.5 GB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2844, allocations: 168.9 kB / 0.5002 GB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2844, allocations: 0 / 0.5002 GB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.285, allocations: 143.9 kB / 0.5003 GB, free: 11.62 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.001144/0.2861, allocations: 441.9 kB / 0.5007 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.2868, allocations: 482.1 kB / 0.5012 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2868, allocations: 1.125 kB / 0.5012 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2871, allocations: 167.1 kB / 0.5013 GB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.2875, allocations: 51.55 kB / 0.5014 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2886, allocations: 0.6729 MB / 0.502 GB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2888, allocations: 0.8095 MB / 0.5028 GB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.2889, allocations: 24.12 kB / 0.5029 GB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2889, allocations: 0 / 0.5029 GB, free: 9.719 MB / 366.1 MB Notification: Performance of Templates: time 0.008063/0.2969, allocations: 5.947 MB / 0.5087 GB, free: 5.562 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile [Timeout 660] 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_2/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_2/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 [Calling os._exit(0), Time elapsed: 4.3534182698931545] Failed to read output from testmodel.py, exit status != 0: 0.30620392807759345 0.316341232 0.041328292 Calling exit ...