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.001715/0.001715, 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.002073/0.002073, allocations: 207.7 kB / 23.8 MB, free: 4.672 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.425/1.425, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.06217/0.06217, allocations: 12.21 MB / 326.2 MB, free: 7.23 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.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 0.00215/0.00215, allocations: 71.89 kB / 454.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1085, allocations: 56.39 MB / 0.499 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.005306/0.1138, allocations: 2.841 MB / 0.5018 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1154, allocations: 0.72 MB / 0.5025 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1156, allocations: 11.88 kB / 0.5025 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1158, allocations: 71.41 kB / 0.5026 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.116, allocations: 39.59 kB / 0.5026 GB, free: 12.29 MB / 382.1 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.0006748/0.1167, allocations: 219.4 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.1171, allocations: 311.2 kB / 0.5032 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.1174, allocations: 109.2 kB / 0.5033 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1176, allocations: 151.5 kB / 0.5034 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.118, allocations: 171.2 kB / 0.5036 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.1181, allocations: 36 kB / 0.5036 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1184, allocations: 147.9 kB / 0.5037 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1185, allocations: 119.6 kB / 0.5039 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1187, allocations: 163.1 kB / 0.504 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.1194, allocations: 0.4979 MB / 0.5045 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1194, allocations: 0 / 0.5045 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1194, allocations: 0 / 0.5045 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1194, allocations: 0 / 0.5045 GB, free: 10.38 MB / 382.1 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.001423/0.1208, allocations: 0.7696 MB / 0.5052 GB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1208, allocations: 8.031 kB / 0.5053 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1209, allocations: 48.69 kB / 0.5053 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1213, allocations: 226 kB / 0.5055 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.1213, allocations: 24.97 kB / 0.5055 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.1213, allocations: 32.36 kB / 0.5056 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.122, allocations: 368.2 kB / 0.5059 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.122, allocations: 192 / 0.5059 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.122, allocations: 15.94 kB / 0.5059 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.122, allocations: 12 kB / 0.5059 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.1224, allocations: 196.6 kB / 0.5061 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.1239, allocations: 1.131 MB / 0.5072 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.1243, allocations: 226.6 kB / 0.5075 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.1245, allocations: 119.3 kB / 0.5076 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1245, allocations: 7.984 kB / 0.5076 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.1249, allocations: 207.6 kB / 0.5078 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.1249, allocations: 4 kB / 0.5078 GB, free: 6.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008601/0.1257, allocations: 457.5 kB / 0.5082 GB, free: 6.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1258, allocations: 148.4 kB / 0.5084 GB, free: 6.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1261, allocations: 223 kB / 0.5086 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.1261, allocations: 37.7 kB / 0.5086 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1263, allocations: 180.6 kB / 0.5088 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.605e-05/0.1263, allocations: 71.47 kB / 0.5088 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1265, allocations: 102 kB / 0.5089 GB, free: 5.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1266, allocations: 342.8 kB / 0.5093 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1268, allocations: 88.83 kB / 0.5094 GB, free: 5.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1271, allocations: 243.1 kB / 0.5096 GB, free: 4.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.1276, allocations: 374.8 kB / 0.5099 GB, free: 4.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1276, allocations: 4 kB / 0.5099 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006315/0.1282, allocations: 373.4 kB / 0.5103 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1282, allocations: 12.09 kB / 0.5103 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1282, allocations: 8.375 kB / 0.5103 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1283, allocations: 4 kB / 0.5103 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1285, allocations: 64.22 kB / 0.5104 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1285, allocations: 7.938 kB / 0.5104 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1286, allocations: 47.64 kB / 0.5104 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1286, allocations: 20 kB / 0.5105 GB, free: 3.805 MB / 382.1 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.0002146/0.1289, allocations: 191 kB / 0.5106 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.1289, allocations: 27.84 kB / 0.5107 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.1293, allocations: 198.9 kB / 0.5109 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1293, allocations: 4 kB / 0.5109 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1293, allocations: 3.938 kB / 0.5109 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1293, allocations: 0 / 0.5109 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1304, allocations: 0.8049 MB / 0.5117 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1304, allocations: 11.88 kB / 0.5117 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.1304, allocations: 7.984 kB / 0.5117 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1304, allocations: 4 kB / 0.5117 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1305, allocations: 8.047 kB / 0.5117 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1305, allocations: 4 kB / 0.5117 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.1305, allocations: 7.969 kB / 0.5117 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.1312, allocations: 0.5405 MB / 0.5122 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1313, allocations: 27.8 kB / 0.5122 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1313, allocations: 7.984 kB / 0.5123 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1314, allocations: 4 kB / 0.5123 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1315, allocations: 15.97 kB / 0.5123 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.1315, allocations: 15.98 kB / 0.5123 GB, free: 1.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1316, allocations: 124.1 kB / 0.5124 GB, free: 1.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1316, allocations: 4 kB / 0.5124 GB, free: 1.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.1322, allocations: 115.6 kB / 0.5125 GB, free: 1.605 MB / 382.1 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.0008724/0.1331, allocations: 309.6 kB / 0.5128 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.1336, allocations: 264.4 kB / 0.5131 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1336, allocations: 0 / 0.5131 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1338, allocations: 119.8 kB / 0.5132 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1343, allocations: 58.22 kB / 0.5132 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1355, allocations: 0.5795 MB / 0.5138 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1934/0.3289, allocations: 0.7672 MB / 0.5146 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.329, allocations: 23.84 kB / 0.5146 GB, free: 20.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.329, allocations: 0 / 0.5146 GB, free: 20.75 MB / 382.1 MB Notification: Performance of Templates: time 0.007165/0.3362, allocations: 4.683 MB / 0.5192 GB, free: 20.42 MB / 382.1 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 -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"." -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" -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' 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, ^ 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 *' smb->shmptr = mmap(0, smb->shm_size, PROT_WRITE|PROT_READ, MAP_SHARED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.117029760964215] Failed to read output from testmodel.py, exit status != 0: 0.34493930684402585 0.356820978 0.23447868800000002 Calling exit ...