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.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.001837/0.001837, allocations: 100.4 kB / 20.49 MB, free: 1.344 MB / 14.72 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.002314/0.002314, allocations: 202.3 kB / 23.78 MB, free: 4.5 MB / 14.72 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 1.641/1.641, allocations: 230.6 MB / 257.6 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.06343/0.06343, allocations: 12.24 MB / 326.2 MB, free: 7.043 MB / 254.1 MB " [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_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.002188/0.002188, allocations: 71.88 kB / 454.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 56.39 MB / 0.499 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.005401/0.117, allocations: 2.711 MB / 0.5016 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1189, allocations: 0.8879 MB / 0.5025 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1191, allocations: 11.88 kB / 0.5025 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1193, allocations: 55.41 kB / 0.5025 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1197, allocations: 79.44 kB / 0.5026 GB, free: 12.09 MB / 382.1 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: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 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: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 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 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: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 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.0007626/0.1204, allocations: 247.3 kB / 0.5029 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.1209, allocations: 327.3 kB / 0.5032 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1211, allocations: 106.4 kB / 0.5033 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1213, allocations: 179.4 kB / 0.5034 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.1217, allocations: 183.1 kB / 0.5036 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.1217, allocations: 44 kB / 0.5037 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.1221, allocations: 183.8 kB / 0.5038 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1223, allocations: 139.6 kB / 0.504 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1224, allocations: 139.3 kB / 0.5041 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007854/0.1232, allocations: 0.5992 MB / 0.5047 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1232, allocations: 0 / 0.5047 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1232, allocations: 0 / 0.5047 GB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1232, allocations: 4 kB / 0.5047 GB, free: 9.965 MB / 382.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.001782/0.125, allocations: 0.9563 MB / 0.5056 GB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1251, allocations: 8.031 kB / 0.5056 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1252, allocations: 40.7 kB / 0.5057 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.1255, allocations: 239.9 kB / 0.5059 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.1256, allocations: 29.36 kB / 0.5059 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.1257, allocations: 35.94 kB / 0.506 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.1264, allocations: 405.9 kB / 0.5063 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1264, allocations: 0 / 0.5063 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1265, allocations: 15.94 kB / 0.5064 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1265, allocations: 12 kB / 0.5064 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.1269, allocations: 227.5 kB / 0.5066 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.1283, allocations: 0.8116 MB / 0.5074 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.1287, allocations: 227.6 kB / 0.5076 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1289, allocations: 94.8 kB / 0.5077 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.129, allocations: 19.92 kB / 0.5077 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.1293, allocations: 190.5 kB / 0.5079 GB, free: 6.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.1293, allocations: 0 / 0.5079 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008924/0.1302, allocations: 431.6 kB / 0.5083 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.1303, allocations: 130.8 kB / 0.5084 GB, free: 5.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1305, allocations: 186.7 kB / 0.5086 GB, free: 5.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.1306, allocations: 41.7 kB / 0.5086 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.1307, allocations: 196.6 kB / 0.5088 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.1308, allocations: 63.56 kB / 0.5089 GB, free: 5.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.131, allocations: 94.05 kB / 0.509 GB, free: 5.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1311, allocations: 338.8 kB / 0.5093 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1313, allocations: 76.7 kB / 0.5094 GB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.1316, allocations: 228 kB / 0.5096 GB, free: 4.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.1323, allocations: 366.7 kB / 0.5099 GB, free: 4.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.1323, allocations: 8.234 kB / 0.5099 GB, free: 4.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006345/0.1329, allocations: 353.1 kB / 0.5103 GB, free: 3.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1329, allocations: 8 kB / 0.5103 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.1329, allocations: 8 kB / 0.5103 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/0.133, allocations: 8 kB / 0.5103 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.1332, allocations: 55.84 kB / 0.5104 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1332, allocations: 7.984 kB / 0.5104 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1334, allocations: 36.28 kB / 0.5104 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1334, allocations: 23.94 kB / 0.5104 GB, free: 3.66 MB / 382.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.0003328/0.1337, allocations: 210.8 kB / 0.5106 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.1338, allocations: 19.86 kB / 0.5106 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.1343, allocations: 262.6 kB / 0.5109 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.1343, allocations: 4 kB / 0.5109 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1343, allocations: 4.094 kB / 0.5109 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1343, allocations: 7.984 kB / 0.5109 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.1353, allocations: 0.628 MB / 0.5115 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1353, allocations: 0 / 0.5115 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.1354, allocations: 11.98 kB / 0.5115 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1354, allocations: 7.875 kB / 0.5115 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1354, allocations: 7.984 kB / 0.5116 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1354, allocations: 4 kB / 0.5116 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1354, allocations: 7.875 kB / 0.5116 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.1361, allocations: 456.1 kB / 0.512 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.1361, allocations: 19.84 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.1361, allocations: 15.98 kB / 0.512 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1363, allocations: 7.984 kB / 0.512 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1363, allocations: 15.92 kB / 0.5121 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.1363, allocations: 11.98 kB / 0.5121 GB, free: 1.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.1364, allocations: 115.6 kB / 0.5122 GB, free: 1.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1364, allocations: 0 / 0.5122 GB, free: 1.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.137, allocations: 147.4 kB / 0.5123 GB, free: 1.656 MB / 382.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.0007277/0.1377, allocations: 310.4 kB / 0.5126 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.1382, allocations: 240.3 kB / 0.5128 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1382, allocations: 0 / 0.5128 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1384, allocations: 103.1 kB / 0.5129 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.1389, allocations: 48.09 kB / 0.513 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.14, allocations: 0.5466 MB / 0.5135 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1402, allocations: 164.6 kB / 0.5137 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.1402, allocations: 27.42 kB / 0.5137 GB, free: 216 kB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1402, allocations: 0 / 0.5137 GB, free: 216 kB / 382.1 MB Notification: Performance of Templates: time 0.1958/0.3361, allocations: 4.921 MB / 0.5185 GB, free: 20.78 MB / 382.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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_StringCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.376552689354867] Failed to read output from testmodel.py, exit status != 0: 0.3444865099154413 0.356634755 0.230282705 Calling exit ...