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.001372/0.001372, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.002305/0.002305, allocations: 199.5 kB / 23.78 MB, free: 4.5 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.78/1.78, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.06172/0.06172, allocations: 12.22 MB / 326.2 MB, free: 7.031 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.002058/0.002058, allocations: 63.89 kB / 454.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 56.39 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.005076/0.1408, allocations: 2.792 MB / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1424, allocations: 0.6812 MB / 0.5024 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1425, allocations: 7.938 kB / 0.5024 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1429, allocations: 67.33 kB / 0.5024 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1431, allocations: 43.64 kB / 0.5025 GB, free: 12.23 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.0006866/0.1437, allocations: 219.3 kB / 0.5027 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.1442, allocations: 311.2 kB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.1444, allocations: 101.3 kB / 0.5031 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1446, allocations: 151.5 kB / 0.5032 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.1449, allocations: 155.2 kB / 0.5034 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/0.1449, allocations: 36 kB / 0.5034 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.1452, allocations: 147.8 kB / 0.5035 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1453, allocations: 99.73 kB / 0.5036 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1455, allocations: 127.3 kB / 0.5038 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.1461, allocations: 0.5018 MB / 0.5042 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1462, allocations: 4 kB / 0.5042 GB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1462, allocations: 4 kB / 0.5043 GB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1462, allocations: 3.938 kB / 0.5043 GB, free: 10.39 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.001556/0.1477, allocations: 0.7813 MB / 0.505 GB, free: 9.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1478, allocations: 8.031 kB / 0.505 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.1478, allocations: 40.7 kB / 0.5051 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1482, allocations: 218.5 kB / 0.5053 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.1482, allocations: 29.02 kB / 0.5053 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.1483, allocations: 32.31 kB / 0.5053 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.149, allocations: 368.2 kB / 0.5057 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.149, allocations: 4.188 kB / 0.5057 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.149, allocations: 19.92 kB / 0.5057 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.149, allocations: 8 kB / 0.5057 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.1494, allocations: 188.7 kB / 0.5059 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1508, allocations: 1.01 MB / 0.5069 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.1513, allocations: 230.5 kB / 0.5071 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1515, allocations: 107.4 kB / 0.5072 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1515, allocations: 8 kB / 0.5072 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.1519, allocations: 219.6 kB / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.1519, allocations: 0 / 0.5074 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.0009186/0.1528, allocations: 461.1 kB / 0.5079 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1529, allocations: 144.5 kB / 0.508 GB, free: 6.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.1532, allocations: 231 kB / 0.5082 GB, free: 6.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1532, allocations: 33.7 kB / 0.5082 GB, free: 6.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1534, allocations: 176.6 kB / 0.5084 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.1535, allocations: 75.47 kB / 0.5085 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1536, allocations: 102 kB / 0.5086 GB, free: 5.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1538, allocations: 342.8 kB / 0.5089 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.154, allocations: 92.83 kB / 0.509 GB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1543, allocations: 243.1 kB / 0.5092 GB, free: 4.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.1549, allocations: 366.5 kB / 0.5096 GB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1549, allocations: 0 / 0.5096 GB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006811/0.1556, allocations: 384.9 kB / 0.51 GB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1556, allocations: 8 kB / 0.51 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1556, allocations: 4.594 kB / 0.51 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.1556, allocations: 8 kB / 0.51 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1558, allocations: 59.91 kB / 0.51 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1558, allocations: 11.94 kB / 0.51 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.156, allocations: 32.09 kB / 0.5101 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.156, allocations: 23.98 kB / 0.5101 GB, free: 3.957 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.0002683/0.1563, allocations: 199.2 kB / 0.5103 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.1563, allocations: 27.84 kB / 0.5103 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.1567, allocations: 198.8 kB / 0.5105 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1567, allocations: 4 kB / 0.5105 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1567, allocations: 3.984 kB / 0.5105 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1567, allocations: 3.938 kB / 0.5105 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1578, allocations: 0.72 MB / 0.5112 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1578, allocations: 64 / 0.5112 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.1579, allocations: 12 kB / 0.5112 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1579, allocations: 4 kB / 0.5112 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.1579, allocations: 15.92 kB / 0.5112 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1579, allocations: 3.938 kB / 0.5112 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1579, allocations: 4 kB / 0.5113 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.1587, allocations: 0.5407 MB / 0.5118 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1588, allocations: 27.73 kB / 0.5118 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1588, allocations: 4 kB / 0.5118 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1589, allocations: 11.98 kB / 0.5118 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.159, allocations: 19.91 kB / 0.5118 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.159, allocations: 12 kB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1591, allocations: 128.1 kB / 0.512 GB, free: 1.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 0.512 GB, free: 1.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.1597, allocations: 111.7 kB / 0.5121 GB, free: 1.848 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.000884/0.1606, allocations: 320.8 kB / 0.5124 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.1612, allocations: 265.1 kB / 0.5126 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1612, allocations: 320 / 0.5126 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1614, allocations: 115.9 kB / 0.5127 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.1619, allocations: 58.19 kB / 0.5128 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1632, allocations: 0.5823 MB / 0.5134 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1634, allocations: 167.5 kB / 0.5135 GB, free: 368 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.1634, allocations: 19.44 kB / 0.5136 GB, free: 348 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1634, allocations: 0 / 0.5136 GB, free: 348 kB / 382.1 MB Notification: Performance of Templates: time 0.2312/0.3946, allocations: 4.723 MB / 0.5182 GB, free: 20.72 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 -DOMC_BUILD -DUSE_THREAD -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.642074970062822] Failed to read output from testmodel.py, exit status != 0: 0.4031194378621876 0.41575334700000005 0.26663506400000003 Calling exit ...