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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 118.7 kB / 17.85 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 191.8 kB / 20.79 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.2 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06168/0.06168, allocations: 12.17 MB / 316.2 MB, free: 228 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001965/0.001965, allocations: 59.91 kB / 440.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 55.17 MB / 495.9 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.003583/0.2543, allocations: 2.731 MB / 498.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2554, allocations: 0.713 MB / 499.3 MB, free: 21.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.2555, allocations: 7.312 kB / 499.3 MB, free: 21.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2558, allocations: 68.98 kB / 499.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2559, allocations: 41.59 kB / 499.4 MB, free: 21.25 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0004701/0.2564, allocations: 212.7 kB / 499.6 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.2566, allocations: 300.4 kB / 499.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2569, allocations: 130.8 kB / 0.4883 GB, free: 20.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.257, allocations: 142.5 kB / 0.4885 GB, free: 20.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.2572, allocations: 181.7 kB / 0.4886 GB, free: 20.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.2572, allocations: 36.59 kB / 0.4887 GB, free: 20.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.2574, allocations: 143.7 kB / 0.4888 GB, free: 20.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.2575, allocations: 114.7 kB / 0.4889 GB, free: 20.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2576, allocations: 155.4 kB / 0.4891 GB, free: 20.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.2581, allocations: 0.5034 MB / 0.4896 GB, free: 19.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2581, allocations: 1.469 kB / 0.4896 GB, free: 19.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2581, allocations: 0 / 0.4896 GB, free: 19.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2581, allocations: 0 / 0.4896 GB, free: 19.97 MB / 366.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.001059/0.2591, allocations: 0.8562 MB / 0.4904 GB, free: 19.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2592, allocations: 12.88 kB / 0.4904 GB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.2593, allocations: 43.25 kB / 0.4905 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.2595, allocations: 290.3 kB / 0.4907 GB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.2595, allocations: 22.12 kB / 0.4908 GB, free: 18.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.2596, allocations: 32.67 kB / 0.4908 GB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.2601, allocations: 366.6 kB / 0.4911 GB, free: 18.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2601, allocations: 9.438 kB / 0.4911 GB, free: 18.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.2601, allocations: 15.38 kB / 0.4912 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2601, allocations: 6.844 kB / 0.4912 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2604, allocations: 192.7 kB / 0.4913 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2615, allocations: 1.162 MB / 0.4925 GB, free: 17.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.2618, allocations: 232.8 kB / 0.4927 GB, free: 17.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.262, allocations: 107.8 kB / 0.4928 GB, free: 17.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.262, allocations: 15.23 kB / 0.4928 GB, free: 17.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.2623, allocations: 210.1 kB / 0.493 GB, free: 17.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.2623, allocations: 0 / 0.493 GB, free: 17.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.0007771/0.2631, allocations: 453.7 kB / 0.4935 GB, free: 16.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2631, allocations: 151.2 kB / 0.4936 GB, free: 16.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.2633, allocations: 219.9 kB / 0.4938 GB, free: 16.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2633, allocations: 35.17 kB / 0.4938 GB, free: 16.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.2634, allocations: 180.4 kB / 0.494 GB, free: 16.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.2635, allocations: 80.77 kB / 0.4941 GB, free: 16.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2636, allocations: 97.84 kB / 0.4942 GB, free: 16.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.2636, allocations: 341.5 kB / 0.4945 GB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.2638, allocations: 87.77 kB / 0.4946 GB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.264, allocations: 243 kB / 0.4948 GB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.2644, allocations: 366.6 kB / 0.4952 GB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2644, allocations: 1.125 kB / 0.4952 GB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005474/0.2649, allocations: 385.5 kB / 0.4955 GB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2649, allocations: 7.531 kB / 0.4956 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2649, allocations: 4 kB / 0.4956 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.265, allocations: 8.219 kB / 0.4956 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2651, allocations: 65.12 kB / 0.4956 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.2652, allocations: 10.44 kB / 0.4956 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2653, allocations: 36.95 kB / 0.4957 GB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2653, allocations: 20.06 kB / 0.4957 GB, free: 14.94 MB / 366.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.000184/0.2655, allocations: 202.3 kB / 0.4959 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.2655, allocations: 31.17 kB / 0.4959 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.2658, allocations: 190.7 kB / 0.4961 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2659, allocations: 3.562 kB / 0.4961 GB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2659, allocations: 9.141 kB / 0.4961 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2659, allocations: 1.094 kB / 0.4961 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.2667, allocations: 0.8354 MB / 0.4969 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2667, allocations: 5.062 kB / 0.4969 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.2668, allocations: 15.61 kB / 0.4969 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2668, allocations: 1.969 kB / 0.4969 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.2668, allocations: 8.359 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.2668, allocations: 2.594 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2668, allocations: 1.219 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005769/0.2674, allocations: 0.5447 MB / 0.4975 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.2674, allocations: 99.97 kB / 0.4976 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2674, allocations: 10.33 kB / 0.4976 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2676, allocations: 6.344 kB / 0.4976 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.2676, allocations: 16.94 kB / 0.4976 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.2676, allocations: 12.66 kB / 0.4976 GB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.2677, allocations: 129.2 kB / 0.4978 GB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2677, allocations: 1.125 kB / 0.4978 GB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.2682, allocations: 108.1 kB / 0.4979 GB, free: 13.31 MB / 366.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.0007224/0.2689, allocations: 307.9 kB / 0.4982 GB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.2694, allocations: 275.8 kB / 0.4984 GB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2694, allocations: 1.125 kB / 0.4984 GB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2696, allocations: 115.4 kB / 0.4985 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.2701, allocations: 58.73 kB / 0.4986 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2712, allocations: 0.5826 MB / 0.4991 GB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2714, allocations: 0.7766 MB / 0.4999 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.2714, allocations: 20.06 kB / 0.4999 GB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2714, allocations: 0 / 0.4999 GB, free: 11.77 MB / 366.1 MB Notification: Performance of Templates: time 0.006618/0.278, allocations: 4.68 MB / 0.5045 GB, free: 9.344 MB / 366.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryFunctions.cpp:405:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryFunctions.cpp:426:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.127286326140165] Failed to read output from testmodel.py, exit status != 0: 0.28567352914251387 0.29472279700000004 0.033879816 Calling exit ...