Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001453/0.001453, 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.001533/0.001533, allocations: 202.8 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.463/1.463, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.07358/0.07358, allocations: 12.22 MB / 326.2 MB, free: 7.047 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.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.84 kB / 454.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1239, allocations: 56.39 MB / 0.499 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.004864/0.1288, allocations: 2.723 MB / 0.5016 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1306, allocations: 0.8956 MB / 0.5025 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1307, allocations: 7.938 kB / 0.5025 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1309, allocations: 55.45 kB / 0.5026 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1312, allocations: 71.52 kB / 0.5026 GB, free: 12.09 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:54:9-63:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:121:9-130:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.132, allocations: 263.2 kB / 0.5029 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.1324, allocations: 279.4 kB / 0.5031 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1326, allocations: 81.73 kB / 0.5032 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1327, allocations: 139.5 kB / 0.5033 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.133, allocations: 147.3 kB / 0.5035 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.133, allocations: 32 kB / 0.5035 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.1333, allocations: 191.8 kB / 0.5037 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1335, allocations: 95.73 kB / 0.5038 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1336, allocations: 115.4 kB / 0.5039 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.1343, allocations: 0.5019 MB / 0.5044 GB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1343, allocations: 4 kB / 0.5044 GB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1343, allocations: 0 / 0.5044 GB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1343, allocations: 0 / 0.5044 GB, free: 10.26 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 getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001523/0.1358, allocations: 0.9142 MB / 0.5053 GB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1358, allocations: 8.031 kB / 0.5053 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.1359, allocations: 32.75 kB / 0.5053 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.1363, allocations: 215.2 kB / 0.5055 GB, free: 8.992 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.1363, allocations: 58.61 kB / 0.5056 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.1364, allocations: 36 kB / 0.5056 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.1379, allocations: 0.9441 MB / 0.5065 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.138, allocations: 0 / 0.5065 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.138, allocations: 12 kB / 0.5066 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.138, allocations: 8 kB / 0.5066 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.1383, allocations: 181.8 kB / 0.5067 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.1389, allocations: 427.6 kB / 0.5071 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.1398, allocations: 0.5116 MB / 0.5076 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.1402, allocations: 286.7 kB / 0.5079 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.1404, allocations: 40.48 kB / 0.508 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1404, allocations: 39.06 kB / 0.508 GB, free: 6.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.1404, allocations: 0 / 0.508 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001158/0.1416, allocations: 0.5905 MB / 0.5086 GB, free: 5.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.1417, allocations: 144.8 kB / 0.5087 GB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1419, allocations: 165.8 kB / 0.5089 GB, free: 5.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.1419, allocations: 37.7 kB / 0.5089 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.142, allocations: 113.3 kB / 0.509 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.1421, allocations: 43.81 kB / 0.5091 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1422, allocations: 102.3 kB / 0.5092 GB, free: 5.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1424, allocations: 346.8 kB / 0.5095 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1425, allocations: 77.25 kB / 0.5096 GB, free: 4.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.143, allocations: 475.1 kB / 0.51 GB, free: 4.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.1437, allocations: 0.5874 MB / 0.5106 GB, free: 3.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.1437, allocations: 8 kB / 0.5106 GB, free: 3.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007755/0.1444, allocations: 0.5051 MB / 0.5111 GB, free: 2.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1445, allocations: 12 kB / 0.5111 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1445, allocations: 12 kB / 0.5111 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.1445, allocations: 24.72 kB / 0.5111 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.1449, allocations: 123.7 kB / 0.5112 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.1449, allocations: 27.94 kB / 0.5113 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.1451, allocations: 39.78 kB / 0.5113 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.1451, allocations: 39.98 kB / 0.5114 GB, free: 2.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,findString.y,getString.pkgOut[1].autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgIn.userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgIn.userPkgBitSize,sample3.y,sample1.y,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002877/0.1454, allocations: 219.2 kB / 0.5116 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/0.1462, allocations: 437.2 kB / 0.512 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.1471, allocations: 486.2 kB / 0.5124 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1471, allocations: 7.938 kB / 0.5124 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1471, allocations: 8 kB / 0.5125 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1471, allocations: 7.969 kB / 0.5125 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1474, allocations: 196.9 kB / 0.5127 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.1474, allocations: 0 / 0.5127 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.1478, allocations: 99.83 kB / 0.5127 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1478, allocations: 0 / 0.5127 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.1478, allocations: 16 kB / 0.5128 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1478, allocations: 3.984 kB / 0.5128 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.1478, allocations: 7.938 kB / 0.5128 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.1487, allocations: 0.6376 MB / 0.5134 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.1488, allocations: 35.69 kB / 0.5134 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.1488, allocations: 20 kB / 0.5134 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.149, allocations: 19.98 kB / 0.5135 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.149, allocations: 11.88 kB / 0.5135 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.149, allocations: 16 kB / 0.5135 GB, free: 188 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1491, allocations: 107.2 kB / 0.5136 GB, free: 80 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1491, allocations: 4 kB / 0.5136 GB, free: 76 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2052/0.3543, allocations: 118.2 kB / 0.5137 GB, free: 21.43 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: 43 (integerExpression.y,integerExpression2.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],sample1.y,sample3.y,addString.pkgIn.userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,getString.pkgIn.userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgOut[1].autoPkgBitSize,findString.y) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 1 * 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.0008296/0.3551, allocations: 331.1 kB / 0.514 GB, free: 21.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.3558, allocations: 387.1 kB / 0.5144 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3558, allocations: 6.125 kB / 0.5144 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.3558, allocations: 7.703 kB / 0.5144 GB, free: 21.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3571, allocations: 1.1 MB / 0.5155 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.358, allocations: 0.661 MB / 0.5161 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.3581, allocations: 200.5 kB / 0.5163 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.3582, allocations: 30.8 kB / 0.5164 GB, free: 20.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3582, allocations: 0 / 0.5164 GB, free: 20.16 MB / 382.1 MB Notification: Performance of Templates: time 0.008173/0.3663, allocations: 5.198 MB / 0.5214 GB, free: 19.63 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.ClockedBlocks.Examples.TestSerialPackager_StringCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.287496374920011] Failed to read output from testmodel.py, exit status != 0: 0.37485052226111293 0.393015668 0.25516185 Calling exit ...