Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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.0007725/0.0007725, 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.000806/0.000806, allocations: 165.9 kB / 24 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.8791/0.8791, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.03469/0.03469, allocations: 9.14 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_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 398.3 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.153e-05, allocations: 6.219 kB / 398.3 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.004439/0.004471, allocations: 2.716 MB / 401 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.005744, allocations: 0.6769 MB / 401.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.005901, allocations: 7.938 kB / 401.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.006176, allocations: 59.34 kB / 401.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.006355, allocations: 47.53 kB / 401.8 MB, free: 13.2 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.007037, allocations: 239.1 kB / 402.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.007451, allocations: 339.1 kB / 402.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.007703, allocations: 103.4 kB / 402.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.008002, allocations: 247.5 kB / 402.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.008259, allocations: 159.5 kB / 402.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.008324, allocations: 44 kB / 402.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.00856, allocations: 127.8 kB / 403.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.008729, allocations: 139.6 kB / 403.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.008862, allocations: 115.7 kB / 403.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.009551, allocations: 0.5645 MB / 403.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.009555, allocations: 0 / 403.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.009556, allocations: 0 / 403.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.009565, allocations: 0 / 403.9 MB, free: 11.15 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.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.001524/0.01109, allocations: 0.9605 MB / 404.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.01113, allocations: 16.03 kB / 404.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.01122, allocations: 36.7 kB / 404.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.01152, allocations: 235.8 kB / 405.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.01156, allocations: 33.36 kB / 405.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.01161, allocations: 32.38 kB / 405.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.01227, allocations: 410.4 kB / 405.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01228, allocations: 192 / 405.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.01232, allocations: 16.38 kB / 405.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01233, allocations: 8.375 kB / 405.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.01273, allocations: 223.7 kB / 405.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01387, allocations: 0.8873 MB / 406.7 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.0143, allocations: 254.3 kB / 407 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.01446, allocations: 103.5 kB / 407.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.01449, allocations: 8 kB / 407.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000274/0.01477, allocations: 198.6 kB / 407.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.01477, allocations: 0 / 407.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007674/0.01554, allocations: 463 kB / 407.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.01562, allocations: 144.5 kB / 407.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.0158, allocations: 192.9 kB / 408 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.01584, allocations: 41.69 kB / 408.1 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.01597, allocations: 188.8 kB / 408.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.01603, allocations: 67.48 kB / 408.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.01615, allocations: 102.1 kB / 408.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01627, allocations: 334.8 kB / 408.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.01641, allocations: 76.95 kB / 408.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.01664, allocations: 239.8 kB / 409.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.01706, allocations: 358.5 kB / 409.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01706, allocations: 0 / 409.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005115/0.01757, allocations: 357.3 kB / 409.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.01759, allocations: 11.94 kB / 409.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.0176, allocations: 4 kB / 409.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.01762, allocations: 8 kB / 409.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.01779, allocations: 63.78 kB / 409.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.0178, allocations: 11.98 kB / 409.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01792, allocations: 23.84 kB / 409.9 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.01795, allocations: 20 kB / 409.9 MB, free: 4.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 46 (unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.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,packInt1.pkgOut[1].dummy,$PRE.packInt1.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,addInteger.u[1],iExp2.y,unpackInt1.pkgOut[1].trigger,iExp.y,$PRE.iExp.y,$whenCondition1,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,resetPointer.pkgIn.autoPkgBitSize,packInt1.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 (47): * Single equations (assignments): 47 * 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.0002164/0.01816, allocations: 219.8 kB / 410.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.0182, allocations: 23.84 kB / 410.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.01824, allocations: 17.11 kB / 410.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01825, allocations: 4 kB / 410.2 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.01825, allocations: 0 / 410.2 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01826, allocations: 4 kB / 410.2 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.01905, allocations: 0.6252 MB / 410.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01905, allocations: 4 kB / 410.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.01908, allocations: 7.984 kB / 410.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01909, allocations: 4 kB / 410.8 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.0191, allocations: 8 kB / 410.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01911, allocations: 7.984 kB / 410.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01911, allocations: 0 / 410.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.01968, allocations: 469.8 kB / 411.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.0197, allocations: 23.8 kB / 411.3 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.01973, allocations: 7.984 kB / 411.3 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.01981, allocations: 11.94 kB / 411.3 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.01987, allocations: 15.97 kB / 411.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.0199, allocations: 24.05 kB / 411.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.293e-05/0.01998, allocations: 119.2 kB / 411.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01998, allocations: 0 / 411.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.02047, allocations: 107.6 kB / 411.6 MB, free: 2.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 29 (packager.internalTrigger,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].trigger,$whenCondition1,iExp.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],iExp2.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (iExp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 6 * 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.0003979/0.02087, allocations: 211.7 kB / 411.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.0213, allocations: 240.4 kB / 412 MB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.02131, allocations: 4 kB / 412 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.02149, allocations: 107.8 kB / 412.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.02194, allocations: 51.83 kB / 412.2 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.02283, allocations: 0.5262 MB / 412.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.023, allocations: 167.9 kB / 412.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.02305, allocations: 20.5 kB / 412.9 MB, free: 1.539 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02305, allocations: 0 / 412.9 MB, free: 1.539 MB / 378.7 MB Notification: Performance of Templates: time 0.006507/0.02955, allocations: 4.362 MB / 417.3 MB, free: 13.21 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTriggerFunctions.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_ExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.426159242168069] Failed to read output from testmodel.py, exit status != 0: 0.03679017070680857 0.047647756000000006 0.036285927 Calling exit ...