Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.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.0007257/0.0007257, 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.0007319/0.0007319, allocations: 170.3 kB / 24.01 MB, free: 0.5547 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.8308/0.8308, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.03341/0.03341, allocations: 9.138 MB / 269.9 MB, free: 4.469 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_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 398.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/2.009e-05, allocations: 6.281 kB / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.002905/0.002925, allocations: 2.79 MB / 401.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.003835, allocations: 0.6809 MB / 401.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003937, allocations: 7.938 kB / 401.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.004169, allocations: 67.28 kB / 401.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.004321, allocations: 51.58 kB / 401.9 MB, free: 11.94 MB / 330.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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/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/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.004846, allocations: 219.2 kB / 402.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.005128, allocations: 311.1 kB / 402.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.005332, allocations: 105.1 kB / 402.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.005797, allocations: 211.6 kB / 402.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.005974, allocations: 127.6 kB / 402.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.006007, allocations: 32 kB / 402.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.006182, allocations: 159.7 kB / 403 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.00627, allocations: 111.6 kB / 403.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.00635, allocations: 99.67 kB / 403.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.006797, allocations: 0.5139 MB / 403.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.0068, allocations: 4 kB / 403.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006802, allocations: 0 / 403.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006807, allocations: 0 / 403.8 MB, free: 10.07 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009743/0.007781, allocations: 0.7742 MB / 404.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.007815, allocations: 8.031 kB / 404.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.007887, allocations: 40.69 kB / 404.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.008086, allocations: 229.7 kB / 404.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.008112, allocations: 29.03 kB / 404.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.008143, allocations: 32.36 kB / 404.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.008543, allocations: 368.2 kB / 405.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.008555, allocations: 192 / 405.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.008575, allocations: 12.38 kB / 405.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.008584, allocations: 8.375 kB / 405.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.008815, allocations: 196.5 kB / 405.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.00961, allocations: 0.9911 MB / 406.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.009919, allocations: 238.5 kB / 406.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01003, allocations: 111.4 kB / 406.8 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.01005, allocations: 4 kB / 406.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.01025, allocations: 223.5 kB / 407 MB, free: 6.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/0.01025, allocations: 0 / 407 MB, free: 6.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.000564/0.01082, allocations: 453.5 kB / 407.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.01088, allocations: 152.4 kB / 407.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01103, allocations: 223 kB / 407.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01105, allocations: 37.69 kB / 407.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.01114, allocations: 172.7 kB / 408 MB, free: 5.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.01119, allocations: 83.41 kB / 408.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.01128, allocations: 94.17 kB / 408.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.01137, allocations: 338.8 kB / 408.5 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.01148, allocations: 96.88 kB / 408.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.01164, allocations: 243.7 kB / 408.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.01194, allocations: 366.6 kB / 409.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01194, allocations: 4 kB / 409.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006436/0.01259, allocations: 373.4 kB / 409.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.0126, allocations: 16.08 kB / 409.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01261, allocations: 4 kB / 409.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01262, allocations: 8 kB / 409.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01273, allocations: 59.84 kB / 409.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01274, allocations: 8 kB / 409.7 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.01282, allocations: 39.67 kB / 409.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.01283, allocations: 19.98 kB / 409.7 MB, free: 3.656 MB / 330.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: 42 (sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001376/0.01297, allocations: 203.1 kB / 409.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.013, allocations: 19.91 kB / 410 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.01322, allocations: 199.4 kB / 410.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01322, allocations: 4 kB / 410.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01323, allocations: 3.938 kB / 410.2 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01323, allocations: 3.984 kB / 410.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.01381, allocations: 0.7202 MB / 410.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01382, allocations: 4.047 kB / 410.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.01385, allocations: 15.94 kB / 410.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01385, allocations: 0 / 410.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01386, allocations: 19.98 kB / 410.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01387, allocations: 0 / 410.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01387, allocations: 3.938 kB / 410.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.01428, allocations: 0.5445 MB / 411.5 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01429, allocations: 15.84 kB / 411.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01432, allocations: 11.98 kB / 411.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.01439, allocations: 11.92 kB / 411.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.01442, allocations: 15.98 kB / 411.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01444, allocations: 11.98 kB / 411.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.0145, allocations: 120.1 kB / 411.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0145, allocations: 0 / 411.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.01484, allocations: 131.6 kB / 411.8 MB, free: 1.535 MB / 330.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: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0004305/0.01527, allocations: 313.6 kB / 412.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.01559, allocations: 272.8 kB / 412.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01559, allocations: 0 / 412.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01571, allocations: 115.8 kB / 412.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.01601, allocations: 49.47 kB / 412.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.0167, allocations: 0.5739 MB / 413.1 MB, free: 256 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01682, allocations: 168 kB / 413.3 MB, free: 68 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.01685, allocations: 28.48 kB / 413.3 MB, free: 40 kB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01685, allocations: 0 / 413.3 MB, free: 40 kB / 330.7 MB Notification: Performance of Templates: time 0.1161/0.133, allocations: 4.764 MB / 418 MB, free: 26.96 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.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_SharedMemoryCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryFunctions.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, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSharedMemory.h:215:23: error: assigning to 'caddr_t' (aka 'char *') from incompatible type 'void *' 215 | smb->shmptr = mmap(0, smb->shm_size, PROT_WRITE|PROT_READ, MAP_SHARED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | smb->shmdes,0); | ~~~~~~~~~~~~~~ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4148117369040847] Failed to read output from testmodel.py, exit status != 0: 0.1379167726263404 0.145022218 0.13682744100000002 Calling exit ...