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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 115.7 kB / 17.85 MB, free: 5.207 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.001368/0.001368, allocations: 190.1 kB / 20.79 MB, free: 2.273 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.49/1.49, allocations: 225.6 MB / 249.2 MB, free: 3.605 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.06197/0.06197, allocations: 12.17 MB / 316.2 MB, free: 292 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_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 0.002051/0.002051, allocations: 67.89 kB / 440.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2904, allocations: 55.15 MB / 495.9 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.004401/0.2948, allocations: 2.806 MB / 498.7 MB, free: 21.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2963, allocations: 0.8758 MB / 499.5 MB, free: 21.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2965, allocations: 12.66 kB / 499.6 MB, free: 21.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.2968, allocations: 70.08 kB / 499.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2969, allocations: 53.73 kB / 499.7 MB, free: 21.11 MB / 366.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.0006648/0.2976, allocations: 269.8 kB / 499.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000416/0.298, allocations: 374.2 kB / 0.4886 GB, free: 20.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.2983, allocations: 160 kB / 0.4887 GB, free: 20.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2985, allocations: 181.1 kB / 0.4889 GB, free: 20.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.2987, allocations: 223.5 kB / 0.4891 GB, free: 20.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.2988, allocations: 46.16 kB / 0.4892 GB, free: 20.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.2991, allocations: 188.1 kB / 0.4893 GB, free: 20.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.2992, allocations: 140.8 kB / 0.4895 GB, free: 20.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2994, allocations: 204.2 kB / 0.4897 GB, free: 19.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.3, allocations: 0.6302 MB / 0.4903 GB, free: 19.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3001, allocations: 0 / 0.4903 GB, free: 19.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3001, allocations: 5.031 kB / 0.4903 GB, free: 19.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3001, allocations: 0 / 0.4903 GB, free: 19.51 MB / 366.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.001436/0.3015, allocations: 1.097 MB / 0.4914 GB, free: 18.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3015, allocations: 13.31 kB / 0.4914 GB, free: 18.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3017, allocations: 49.98 kB / 0.4914 GB, free: 18.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.302, allocations: 316.1 kB / 0.4917 GB, free: 18.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.302, allocations: 29.25 kB / 0.4918 GB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.3021, allocations: 42.45 kB / 0.4918 GB, free: 18.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.3028, allocations: 462.1 kB / 0.4922 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3028, allocations: 5.312 kB / 0.4922 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.3028, allocations: 20.08 kB / 0.4923 GB, free: 17.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3028, allocations: 9.688 kB / 0.4923 GB, free: 17.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3033, allocations: 253.6 kB / 0.4925 GB, free: 17.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3046, allocations: 1.241 MB / 0.4937 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.305, allocations: 248.3 kB / 0.494 GB, free: 16.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3052, allocations: 126.3 kB / 0.4941 GB, free: 16.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3053, allocations: 11.16 kB / 0.4941 GB, free: 16.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.3056, allocations: 233.6 kB / 0.4943 GB, free: 16.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.3056, allocations: 1 kB / 0.4943 GB, free: 16.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009847/0.3066, allocations: 0.5475 MB / 0.4948 GB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3066, allocations: 135.3 kB / 0.495 GB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3068, allocations: 206.3 kB / 0.4952 GB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3068, allocations: 49.09 kB / 0.4952 GB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3069, allocations: 200.8 kB / 0.4954 GB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.307, allocations: 95.39 kB / 0.4955 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3071, allocations: 107.8 kB / 0.4956 GB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.3072, allocations: 337.5 kB / 0.4959 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3074, allocations: 112 kB / 0.496 GB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.3076, allocations: 291.2 kB / 0.4963 GB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.3081, allocations: 453.4 kB / 0.4967 GB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3081, allocations: 1.188 kB / 0.4967 GB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006681/0.3088, allocations: 447.8 kB / 0.4972 GB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3088, allocations: 13.84 kB / 0.4972 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3088, allocations: 7.344 kB / 0.4972 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3088, allocations: 12.02 kB / 0.4972 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.3091, allocations: 66.06 kB / 0.4973 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3091, allocations: 12.94 kB / 0.4973 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3092, allocations: 34.97 kB / 0.4973 GB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.3093, allocations: 26.33 kB / 0.4973 GB, free: 13.91 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.000217/0.3095, allocations: 229.2 kB / 0.4976 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3096, allocations: 28.16 kB / 0.4976 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005667/0.3101, allocations: 363.3 kB / 0.4979 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3101, allocations: 3.375 kB / 0.4979 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3101, allocations: 1.125 kB / 0.4979 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3101, allocations: 9.141 kB / 0.4979 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3112, allocations: 0.9081 MB / 0.4988 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3112, allocations: 1.375 kB / 0.4988 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.3113, allocations: 13.61 kB / 0.4988 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3113, allocations: 1.375 kB / 0.4988 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3113, allocations: 13.48 kB / 0.4989 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3113, allocations: 1.375 kB / 0.4989 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3113, allocations: 1.375 kB / 0.4989 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.312, allocations: 0.554 MB / 0.4994 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.3121, allocations: 100.3 kB / 0.4995 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3121, allocations: 14.39 kB / 0.4995 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3122, allocations: 2.719 kB / 0.4995 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3123, allocations: 25 kB / 0.4995 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3123, allocations: 14.77 kB / 0.4996 GB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.3124, allocations: 125.7 kB / 0.4997 GB, free: 12.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 5.25 kB / 0.4997 GB, free: 12.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00061/0.313, allocations: 143 kB / 0.4998 GB, free: 12.22 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.0009837/0.314, allocations: 358.5 kB / 0.5002 GB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.3147, allocations: 319.8 kB / 0.5005 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3147, allocations: 1.375 kB / 0.5005 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.3149, allocations: 143 kB / 0.5006 GB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3154, allocations: 66.17 kB / 0.5007 GB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3165, allocations: 0.642 MB / 0.5013 GB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3168, allocations: 0.7926 MB / 0.5021 GB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.3168, allocations: 30.52 kB / 0.5021 GB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3168, allocations: 0 / 0.5021 GB, free: 10.57 MB / 366.1 MB Notification: Performance of Templates: time 0.008636/0.3255, allocations: 5.633 MB / 0.5076 GB, free: 6.66 MB / 366.1 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 -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"." -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" -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 [Calling os._exit(0), Time elapsed: 4.11663956195116] Failed to read output from testmodel.py, exit status != 0: 0.3340387570206076 0.345481812 0.04258556 Calling exit ...