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.0008525/0.0008525, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.0009566/0.0009566, allocations: 169.9 kB / 24.01 MB, free: 0.5586 MB / 18.57 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 0.8801/0.8801, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.03482/0.03482, allocations: 9.142 MB / 269.9 MB, free: 4.445 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.513e-06/1.513e-06, allocations: 0 / 398.3 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.686e-05, allocations: 2.281 kB / 398.3 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.002921/0.002948, allocations: 2.719 MB / 401 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003993, allocations: 0.876 MB / 401.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.004084, allocations: 11.88 kB / 401.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.004296, allocations: 63.28 kB / 402 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.004534, allocations: 83.38 kB / 402.1 MB, free: 12.95 MB / 378.7 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.0004288/0.004963, allocations: 255 kB / 402.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.005228, allocations: 335.1 kB / 402.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.005411, allocations: 102.5 kB / 402.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.00558, allocations: 243.5 kB / 403 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.005749, allocations: 155.5 kB / 403.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.005792, allocations: 40 kB / 403.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.00599, allocations: 199.6 kB / 403.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.006102, allocations: 131.6 kB / 403.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.006185, allocations: 115.7 kB / 403.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.006669, allocations: 0.623 MB / 404.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006671, allocations: 3.938 kB / 404.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.006673, allocations: 0 / 404.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006678, allocations: 4 kB / 404.2 MB, free: 10.77 MB / 378.7 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.001082/0.007761, allocations: 0.9574 MB / 405.2 MB, free: 9.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007796, allocations: 8.031 kB / 405.2 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.007859, allocations: 40.7 kB / 405.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.008059, allocations: 233.8 kB / 405.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.008084, allocations: 25.38 kB / 405.5 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.008116, allocations: 36.36 kB / 405.5 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.008551, allocations: 414.1 kB / 405.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008562, allocations: 4 kB / 405.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.008587, allocations: 15.98 kB / 406 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.008595, allocations: 8 kB / 406 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.008859, allocations: 217.8 kB / 406.2 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.00962, allocations: 0.8117 MB / 407 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.009885, allocations: 231.7 kB / 407.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.009983, allocations: 98.7 kB / 407.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.01007, allocations: 15.88 kB / 407.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.01025, allocations: 194.5 kB / 407.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.01026, allocations: 0 / 407.5 MB, free: 7.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005336/0.01079, allocations: 423 kB / 407.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.01085, allocations: 126.8 kB / 408.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.01097, allocations: 186.1 kB / 408.2 MB, free: 6.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01099, allocations: 45.62 kB / 408.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.01108, allocations: 188.7 kB / 408.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.01113, allocations: 71.52 kB / 408.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.01121, allocations: 86.05 kB / 408.6 MB, free: 6.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.0113, allocations: 338.8 kB / 409 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.01139, allocations: 80.77 kB / 409 MB, free: 5.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01155, allocations: 240 kB / 409.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.01197, allocations: 366.4 kB / 409.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.01197, allocations: 4 kB / 409.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000344/0.01232, allocations: 349.3 kB / 410 MB, free: 4.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01233, allocations: 8 kB / 410 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01234, allocations: 4.641 kB / 410 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01236, allocations: 15.92 kB / 410 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01248, allocations: 63.84 kB / 410.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.01249, allocations: 4 kB / 410.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.01256, allocations: 31.8 kB / 410.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.01258, allocations: 16 kB / 410.1 MB, free: 4.484 MB / 378.7 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.0001949/0.01278, allocations: 218.7 kB / 410.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.0128, allocations: 15.91 kB / 410.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.0131, allocations: 273.2 kB / 410.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01311, allocations: 4 kB / 410.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01311, allocations: 0 / 410.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01312, allocations: 7.984 kB / 410.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.01367, allocations: 0.6072 MB / 411.2 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01367, allocations: 4 kB / 411.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.0137, allocations: 7.938 kB / 411.2 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01371, allocations: 4 kB / 411.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01372, allocations: 11.98 kB / 411.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01372, allocations: 0 / 411.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01372, allocations: 4 kB / 411.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.01411, allocations: 468.8 kB / 411.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.01413, allocations: 19.83 kB / 411.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01415, allocations: 8 kB / 411.7 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.01421, allocations: 7.984 kB / 411.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01425, allocations: 19.92 kB / 411.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.01427, allocations: 19.92 kB / 411.8 MB, free: 2.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.01432, allocations: 116.3 kB / 411.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01432, allocations: 0 / 411.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.01466, allocations: 143.4 kB / 412 MB, free: 2.48 MB / 378.7 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.0004773/0.01514, allocations: 315.1 kB / 412.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.01543, allocations: 243.8 kB / 412.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01543, allocations: 0 / 412.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01554, allocations: 99.81 kB / 412.7 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.01582, allocations: 59.88 kB / 412.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.01652, allocations: 0.5418 MB / 413.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01663, allocations: 171.7 kB / 413.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.01667, allocations: 24.5 kB / 413.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01667, allocations: 0 / 413.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004888/0.02156, allocations: 4.958 MB / 418.4 MB, free: 12.08 MB / 394.7 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/jenkins/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/jenkins/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' 452 | 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 144 | 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: 2.3708172645419836] Failed to read output from testmodel.py, exit status != 0: 0.027252565138041973 0.035521359 0.027157906000000002 Calling exit ...