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.001292/0.001292, allocations: 113 kB / 20.49 MB, free: 1.457 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.001422/0.001422, allocations: 219.2 kB / 23.8 MB, free: 4.664 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.44/1.44, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.07082/0.07082, allocations: 12.22 MB / 326.2 MB, free: 7.242 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.001972/0.001972, allocations: 63.89 kB / 454.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1179, allocations: 56.39 MB / 0.499 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.00481/0.1227, allocations: 2.763 MB / 0.5017 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1244, allocations: 0.9268 MB / 0.5026 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1245, allocations: 11.88 kB / 0.5027 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1248, allocations: 59.41 kB / 0.5027 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1251, allocations: 79.44 kB / 0.5028 GB, free: 12.13 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.000658/0.1258, allocations: 255.3 kB / 0.503 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.1262, allocations: 335.2 kB / 0.5034 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1264, allocations: 106.4 kB / 0.5035 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1266, allocations: 167.5 kB / 0.5036 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1269, allocations: 215.1 kB / 0.5038 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.1269, allocations: 40 kB / 0.5039 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.1272, allocations: 203.8 kB / 0.5041 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1274, allocations: 127.7 kB / 0.5042 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1276, allocations: 175.1 kB / 0.5043 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.1283, allocations: 0.6109 MB / 0.5049 GB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1283, allocations: 0 / 0.5049 GB, free: 9.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1283, allocations: 0 / 0.5049 GB, free: 9.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1283, allocations: 0 / 0.5049 GB, free: 9.922 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.001616/0.1299, allocations: 0.9563 MB / 0.5059 GB, free: 8.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1299, allocations: 8.031 kB / 0.5059 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.13, allocations: 36.7 kB / 0.5059 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1304, allocations: 240.9 kB / 0.5061 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.1304, allocations: 37.36 kB / 0.5062 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.1305, allocations: 35.94 kB / 0.5062 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.1312, allocations: 402 kB / 0.5066 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1312, allocations: 0 / 0.5066 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.1312, allocations: 19.94 kB / 0.5066 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1312, allocations: 8 kB / 0.5066 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.1317, allocations: 221.8 kB / 0.5068 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.1331, allocations: 0.9865 MB / 0.5078 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1335, allocations: 219.6 kB / 0.508 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1336, allocations: 103.9 kB / 0.5081 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.1337, allocations: 15.94 kB / 0.5081 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.134, allocations: 196.9 kB / 0.5083 GB, free: 6.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.134, allocations: 0 / 0.5083 GB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008073/0.1348, allocations: 437.3 kB / 0.5087 GB, free: 5.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.1349, allocations: 126.8 kB / 0.5088 GB, free: 5.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1351, allocations: 182.8 kB / 0.509 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1352, allocations: 45.69 kB / 0.5091 GB, free: 5.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1353, allocations: 184.7 kB / 0.5092 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.1354, allocations: 67.48 kB / 0.5093 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1355, allocations: 94.05 kB / 0.5094 GB, free: 5.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1356, allocations: 338.8 kB / 0.5097 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1358, allocations: 80.7 kB / 0.5098 GB, free: 4.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.136, allocations: 232 kB / 0.51 GB, free: 4.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.1366, allocations: 362.5 kB / 0.5104 GB, free: 3.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1367, allocations: 4 kB / 0.5104 GB, free: 3.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005832/0.1372, allocations: 357.6 kB / 0.5107 GB, free: 3.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1373, allocations: 8.062 kB / 0.5107 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1373, allocations: 8 kB / 0.5107 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1373, allocations: 8 kB / 0.5107 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1375, allocations: 55.84 kB / 0.5108 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1375, allocations: 8 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1376, allocations: 35.72 kB / 0.5108 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1377, allocations: 16 kB / 0.5108 GB, free: 3.449 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.0002665/0.1379, allocations: 214.8 kB / 0.511 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.138, allocations: 23.89 kB / 0.5111 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.1384, allocations: 265.1 kB / 0.5113 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1384, allocations: 4 kB / 0.5113 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1384, allocations: 0 / 0.5113 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1384, allocations: 4.031 kB / 0.5113 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.1394, allocations: 0.7354 MB / 0.512 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1394, allocations: 0 / 0.512 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.1395, allocations: 8 kB / 0.5121 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1395, allocations: 0 / 0.5121 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.1395, allocations: 15.86 kB / 0.5121 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1395, allocations: 8.188 kB / 0.5121 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1395, allocations: 0 / 0.5121 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1401, allocations: 460 kB / 0.5125 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.1402, allocations: 19.84 kB / 0.5125 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1402, allocations: 7.938 kB / 0.5125 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1403, allocations: 7.984 kB / 0.5126 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1404, allocations: 15.97 kB / 0.5126 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.1404, allocations: 12 kB / 0.5126 GB, free: 1.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.1405, allocations: 115.6 kB / 0.5127 GB, free: 1.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1405, allocations: 0 / 0.5127 GB, free: 1.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.141, allocations: 143.4 kB / 0.5128 GB, free: 1.336 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.0009607/0.1419, allocations: 303 kB / 0.5131 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1424, allocations: 235.9 kB / 0.5133 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1424, allocations: 0 / 0.5133 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.1426, allocations: 101.1 kB / 0.5134 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.143, allocations: 62.69 kB / 0.5135 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.144, allocations: 0.5503 MB / 0.514 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2003/0.3443, allocations: 0.7673 MB / 0.5148 GB, free: 20.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.3444, allocations: 27 kB / 0.5148 GB, free: 20.63 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3444, allocations: 0 / 0.5148 GB, free: 20.63 MB / 382.1 MB Notification: Performance of Templates: time 0.008024/0.3524, allocations: 4.881 MB / 0.5196 GB, free: 20.27 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 -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/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.232420512940735] Failed to read output from testmodel.py, exit status != 0: 0.36050632200203836 0.37321614999999997 0.241959049 Calling exit ...