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.00157/0.00157, allocations: 109 kB / 20.5 MB, free: 1.453 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.001814/0.001814, allocations: 211.7 kB / 23.8 MB, free: 4.668 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.437/1.437, allocations: 230.6 MB / 257.6 MB, free: 7.957 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.06102/0.06102, allocations: 12.21 MB / 326.2 MB, free: 7.234 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.002041/0.002041, allocations: 67.89 kB / 454.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 56.4 MB / 0.499 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.005392/0.1159, allocations: 2.779 MB / 0.5018 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1177, allocations: 0.9463 MB / 0.5027 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1178, allocations: 7.938 kB / 0.5027 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.118, allocations: 47.48 kB / 0.5027 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1183, allocations: 71.45 kB / 0.5028 GB, free: 12.12 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.000816/0.1191, allocations: 267.2 kB / 0.5031 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1195, allocations: 279.4 kB / 0.5033 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1197, allocations: 89.72 kB / 0.5034 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1199, allocations: 131.5 kB / 0.5035 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1201, allocations: 167.3 kB / 0.5037 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.1202, allocations: 36 kB / 0.5037 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1205, allocations: 199.8 kB / 0.5039 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1207, allocations: 99.72 kB / 0.504 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1208, allocations: 139.2 kB / 0.5041 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.1215, allocations: 0.5019 MB / 0.5046 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1215, allocations: 0 / 0.5046 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1215, allocations: 0 / 0.5046 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1215, allocations: 0 / 0.5046 GB, free: 10.23 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.001573/0.1231, allocations: 0.918 MB / 0.5055 GB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1231, allocations: 12.03 kB / 0.5055 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.1232, allocations: 32.75 kB / 0.5056 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1235, allocations: 222.5 kB / 0.5058 GB, free: 8.953 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 8.214e-05/0.1236, allocations: 50.67 kB / 0.5058 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1237, allocations: 28 kB / 0.5059 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.1252, allocations: 0.9016 MB / 0.5067 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1252, allocations: 0 / 0.5067 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1252, allocations: 12 kB / 0.5068 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1252, allocations: 4 kB / 0.5068 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.1256, allocations: 185.9 kB / 0.5069 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.1263, allocations: 0.5341 MB / 0.5075 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.1271, allocations: 0.5135 MB / 0.508 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.1275, allocations: 286.7 kB / 0.5082 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.1277, allocations: 48.48 kB / 0.5083 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1277, allocations: 39 kB / 0.5083 GB, free: 6.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 1.964e-06/0.1277, allocations: 0 / 0.5083 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001096/0.1288, allocations: 0.5866 MB / 0.5089 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.1289, allocations: 144.8 kB / 0.509 GB, free: 5.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1291, allocations: 162.6 kB / 0.5092 GB, free: 5.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1291, allocations: 41.7 kB / 0.5092 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.1292, allocations: 113.3 kB / 0.5093 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.1292, allocations: 43.81 kB / 0.5094 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1294, allocations: 106.3 kB / 0.5095 GB, free: 4.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1295, allocations: 338.8 kB / 0.5098 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1297, allocations: 89.12 kB / 0.5099 GB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.1301, allocations: 463.2 kB / 0.5103 GB, free: 3.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.1307, allocations: 0.591 MB / 0.5109 GB, free: 3.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.1307, allocations: 4 kB / 0.5109 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007556/0.1315, allocations: 0.5053 MB / 0.5114 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1315, allocations: 12 kB / 0.5114 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.1315, allocations: 12 kB / 0.5114 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.1316, allocations: 23.94 kB / 0.5114 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.1319, allocations: 119.8 kB / 0.5116 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.1319, allocations: 23.92 kB / 0.5116 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1321, allocations: 44.31 kB / 0.5116 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.1321, allocations: 36 kB / 0.5117 GB, free: 2.344 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.0002333/0.1324, allocations: 234.6 kB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007235/0.1331, allocations: 429.4 kB / 0.5123 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.1339, allocations: 489.6 kB / 0.5128 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.134, allocations: 11.94 kB / 0.5128 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.134, allocations: 0 / 0.5128 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.134, allocations: 7.984 kB / 0.5128 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1344, allocations: 316.1 kB / 0.5131 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.1344, allocations: 3.984 kB / 0.5131 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.1347, allocations: 91.91 kB / 0.5132 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.1347, allocations: 4 kB / 0.5132 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1347, allocations: 23.92 kB / 0.5132 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.1347, allocations: 4 kB / 0.5132 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1347, allocations: 0 / 0.5132 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.1356, allocations: 0.6493 MB / 0.5138 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.1356, allocations: 35.69 kB / 0.5139 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1875/0.3232, allocations: 12.86 kB / 0.5139 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3235, allocations: 13.22 kB / 0.5139 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.3235, allocations: 1.344 kB / 0.5139 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/0.3236, allocations: 21.02 kB / 0.5139 GB, free: 21.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.161e-05/0.3237, allocations: 111.3 kB / 0.514 GB, free: 21.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 0.9062 kB / 0.514 GB, free: 21.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000888/0.3246, allocations: 118.9 kB / 0.5141 GB, free: 21.45 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.0007129/0.3253, allocations: 336.1 kB / 0.5145 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006719/0.326, allocations: 387.2 kB / 0.5148 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.326, allocations: 2.25 kB / 0.5148 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.326, allocations: 9.859 kB / 0.5148 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3272, allocations: 1.104 MB / 0.5159 GB, free: 20.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.3281, allocations: 0.6626 MB / 0.5166 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3284, allocations: 0.801 MB / 0.5173 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.3284, allocations: 33.44 kB / 0.5174 GB, free: 19.59 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3284, allocations: 1.438 kB / 0.5174 GB, free: 19.59 MB / 382.1 MB Notification: Performance of Templates: time 0.008419/0.3368, allocations: 5.157 MB / 0.5224 GB, free: 19.07 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 -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.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.060622185003012] Failed to read output from testmodel.py, exit status != 0: 0.3452714220620692 0.357597575 0.23336846600000002 Calling exit ...