Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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.001556/0.001556, allocations: 118.7 kB / 17.85 MB, free: 5.074 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.001312/0.001312, allocations: 191.8 kB / 20.79 MB, free: 2.141 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.493/1.493, allocations: 225.6 MB / 249.2 MB, free: 3.609 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.06071/0.06071, allocations: 12.17 MB / 316.2 MB, free: 220 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_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 440.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2838, allocations: 55.17 MB / 495.9 MB, free: 23.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.003463/0.2872, allocations: 2.639 MB / 498.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2885, allocations: 0.9321 MB / 499.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2886, allocations: 8.688 kB / 499.4 MB, free: 21.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2888, allocations: 59.97 kB / 499.5 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.289, allocations: 77.94 kB / 499.6 MB, free: 21.08 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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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:52:7-61:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:119:7-128:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2895, allocations: 250.8 kB / 499.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.2898, allocations: 336.9 kB / 0.4884 GB, free: 20.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.2901, allocations: 139.1 kB / 0.4886 GB, free: 20.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2902, allocations: 165 kB / 0.4887 GB, free: 20.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2904, allocations: 205.7 kB / 0.4889 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.2905, allocations: 45.41 kB / 0.489 GB, free: 20.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.2907, allocations: 198.5 kB / 0.4892 GB, free: 20.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2909, allocations: 134.2 kB / 0.4893 GB, free: 20.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.291, allocations: 183.7 kB / 0.4895 GB, free: 20.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.2915, allocations: 0.5956 MB / 0.49 GB, free: 19.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2915, allocations: 7.938 kB / 0.49 GB, free: 19.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2915, allocations: 1.062 kB / 0.49 GB, free: 19.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2915, allocations: 0 / 0.49 GB, free: 19.58 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001239/0.2928, allocations: 1.043 MB / 0.4911 GB, free: 18.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2928, allocations: 9.656 kB / 0.4911 GB, free: 18.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.2929, allocations: 38.58 kB / 0.4911 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.2931, allocations: 299.6 kB / 0.4914 GB, free: 18.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.2932, allocations: 28.3 kB / 0.4914 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.2932, allocations: 35.28 kB / 0.4915 GB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.2938, allocations: 409.1 kB / 0.4918 GB, free: 18.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2938, allocations: 3.938 kB / 0.4918 GB, free: 18.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.2939, allocations: 12.28 kB / 0.4919 GB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2939, allocations: 8 kB / 0.4919 GB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.2942, allocations: 218 kB / 0.4921 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2953, allocations: 1.012 MB / 0.4931 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.2956, allocations: 233.1 kB / 0.4933 GB, free: 16.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2957, allocations: 106.8 kB / 0.4934 GB, free: 16.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.2958, allocations: 87.84 kB / 0.4935 GB, free: 16.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.2961, allocations: 190.2 kB / 0.4937 GB, free: 16.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.2961, allocations: 1.531 kB / 0.4937 GB, free: 16.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0007197/0.2968, allocations: 432.4 kB / 0.4941 GB, free: 16.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.2968, allocations: 124.7 kB / 0.4942 GB, free: 16.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.297, allocations: 193.5 kB / 0.4944 GB, free: 16.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.297, allocations: 34.52 kB / 0.4944 GB, free: 16.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.2971, allocations: 187.4 kB / 0.4946 GB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.2971, allocations: 67.17 kB / 0.4946 GB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2972, allocations: 101.2 kB / 0.4947 GB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.2973, allocations: 336.2 kB / 0.4951 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2974, allocations: 82.27 kB / 0.4951 GB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.2976, allocations: 224.4 kB / 0.4954 GB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.2981, allocations: 366.8 kB / 0.4957 GB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2981, allocations: 1.5 kB / 0.4957 GB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004815/0.2986, allocations: 354.2 kB / 0.496 GB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2986, allocations: 6.656 kB / 0.4961 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2986, allocations: 12.72 kB / 0.4961 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2986, allocations: 7.844 kB / 0.4961 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2988, allocations: 59.34 kB / 0.4961 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2988, allocations: 11.86 kB / 0.4961 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.299, allocations: 31.97 kB / 0.4962 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.299, allocations: 18.78 kB / 0.4962 GB, free: 14.6 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: getString.data:DISCRETE(fixed = true ) \"Output string (read from package)\" type: String Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 44 (getString.dummy,$PRE.getString.dummy,getString.pkgOut[1].dummy,$PRE.getString.pkgOut[1].dummy,addString.pkgOut[1].dummy,$PRE.addString.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,addInteger.u[1],$PRE.getString.data,findString.y,getString.data,getString.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addString.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.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 (46): * Single equations (assignments): 46 * 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.000204/0.2992, allocations: 213.1 kB / 0.4964 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.2992, allocations: 18.12 kB / 0.4964 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.2996, allocations: 269.5 kB / 0.4967 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2996, allocations: 3.438 kB / 0.4967 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2996, allocations: 0.9688 kB / 0.4967 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.2996, allocations: 5.094 kB / 0.4967 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.3004, allocations: 0.7518 MB / 0.4974 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3004, allocations: 1.062 kB / 0.4974 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3005, allocations: 9.891 kB / 0.4974 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3005, allocations: 2.219 kB / 0.4974 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3005, allocations: 15.27 kB / 0.4974 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.3005, allocations: 6.125 kB / 0.4974 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3005, allocations: 1.094 kB / 0.4974 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.301, allocations: 454.1 kB / 0.4979 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.301, allocations: 94.36 kB / 0.498 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.3011, allocations: 15.08 kB / 0.498 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3012, allocations: 6.672 kB / 0.498 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3012, allocations: 15.67 kB / 0.498 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3013, allocations: 12.77 kB / 0.498 GB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.547e-05/0.3013, allocations: 108.5 kB / 0.4981 GB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3013, allocations: 4 kB / 0.4981 GB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3018, allocations: 141.3 kB / 0.4983 GB, free: 13.12 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: 28 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,addString.pkgOut[1].dummy,getString.pkgOut[1].dummy,getString.data,getString.dummy,findString.y,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addString.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0005892/0.3024, allocations: 305.9 kB / 0.4985 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.3028, allocations: 237.4 kB / 0.4988 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3028, allocations: 1.094 kB / 0.4988 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.303, allocations: 93.3 kB / 0.4989 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3034, allocations: 54.78 kB / 0.4989 GB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.3043, allocations: 0.5454 MB / 0.4994 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.3044, allocations: 0.7735 MB / 0.5002 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3045, allocations: 25.17 kB / 0.5002 GB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3045, allocations: 0 / 0.5002 GB, free: 11.61 MB / 366.1 MB Notification: Performance of Templates: time 0.006756/0.3112, allocations: 4.911 MB / 0.505 GB, free: 9.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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_StringCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringFunctions.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_StringCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringFunctions.cpp:474: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_StringCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.246155116008595] Failed to read output from testmodel.py, exit status != 0: 0.31863933615386486 0.32804028799999996 0.03369009 Calling exit ...