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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 118.1 kB / 17.13 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.001751, allocations: 189.2 kB / 18.06 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05697/0.05697, allocations: 12.05 MB / 304 MB, free: 3.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 420.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09626, allocations: 52.31 MB / 473.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.003881/0.1002, allocations: 2.702 MB / 475.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1014, allocations: 0.72 MB / 476.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1015, allocations: 3.938 kB / 476.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.1017, allocations: 63.41 kB / 476.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1019, allocations: 43.59 kB / 476.6 MB, free: 9.266 MB / 350.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.0005171/0.1024, allocations: 215.4 kB / 476.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.1028, allocations: 303.2 kB / 477.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.1031, allocations: 188.6 kB / 477.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1032, allocations: 143.5 kB / 477.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1034, allocations: 167.2 kB / 477.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.1035, allocations: 36 kB / 477.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.1037, allocations: 147.9 kB / 477.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1038, allocations: 111.6 kB / 477.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.104, allocations: 159.1 kB / 478 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1045, allocations: 0.4906 MB / 478.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1045, allocations: 4 kB / 478.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1045, allocations: 3.938 kB / 478.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1045, allocations: 0 / 478.5 MB, free: 7.32 MB / 350.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.001285/0.1058, allocations: 0.8535 MB / 479.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1059, allocations: 8.031 kB / 479.4 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.106, allocations: 40.47 kB / 479.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1063, allocations: 275.8 kB / 479.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.1063, allocations: 28.97 kB / 479.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.1064, allocations: 32.38 kB / 479.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.107, allocations: 368.2 kB / 480.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.107, allocations: 192 / 480.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.107, allocations: 15.94 kB / 480.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.107, allocations: 8 kB / 480.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1074, allocations: 188.7 kB / 480.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1087, allocations: 1.169 MB / 481.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.1091, allocations: 262.4 kB / 481.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1093, allocations: 123.4 kB / 481.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1094, allocations: 15.98 kB / 481.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.1097, allocations: 205.5 kB / 482.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.1097, allocations: 0 / 482.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.000813/0.1105, allocations: 453 kB / 482.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.1106, allocations: 148.5 kB / 482.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1109, allocations: 219 kB / 482.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1109, allocations: 37.7 kB / 482.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.111, allocations: 176.2 kB / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.1111, allocations: 75.09 kB / 483.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1112, allocations: 102 kB / 483.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1114, allocations: 342.8 kB / 483.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.1116, allocations: 88.83 kB / 483.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1118, allocations: 235.2 kB / 483.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.1123, allocations: 374.8 kB / 484.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1123, allocations: 4 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005837/0.1129, allocations: 388.6 kB / 484.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1129, allocations: 4 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1129, allocations: 8.594 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1129, allocations: 8 kB / 484.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1131, allocations: 63.84 kB / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1132, allocations: 7.938 kB / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1133, allocations: 31.69 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.1133, allocations: 23.98 kB / 484.8 MB, free: 0.5312 MB / 350.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.0001941/0.1135, allocations: 195.7 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.1136, allocations: 27.8 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.1139, allocations: 187 kB / 485.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1139, allocations: 4 kB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.114, allocations: 4.312 kB / 485.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.114, allocations: 11.92 kB / 485.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.1149, allocations: 0.8292 MB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1149, allocations: 3.938 kB / 486.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.115, allocations: 15.92 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.115, allocations: 8 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.115, allocations: 4 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1151, allocations: 3.984 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1151, allocations: 4 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.1157, allocations: 0.5366 MB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.1158, allocations: 100.8 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1158, allocations: 15.92 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.116, allocations: 4 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.116, allocations: 19.97 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.116, allocations: 8 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.1161, allocations: 128.1 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1161, allocations: 0 / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.1166, allocations: 115.8 kB / 487 MB, free: 14.21 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.0005868/0.1172, allocations: 309 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.1177, allocations: 281.3 kB / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1177, allocations: 0 / 487.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1179, allocations: 127.9 kB / 487.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.1184, allocations: 47.94 kB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1195, allocations: 0.5716 MB / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1198, allocations: 0.7754 MB / 489.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.1199, allocations: 23.44 kB / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1199, allocations: 0 / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Templates: time 0.006652/0.1265, allocations: 4.677 MB / 493.8 MB, free: 7.418 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.makefile 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 2.1.1-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 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