Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.001324/0.001324, allocations: 105.2 kB / 20.49 MB, free: 1.457 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.001486/0.001486, allocations: 222.1 kB / 23.81 MB, free: 4.648 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.51/1.51, allocations: 230.6 MB / 257.6 MB, free: 8 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.07848/0.07848, allocations: 12.21 MB / 326.2 MB, free: 7.281 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_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.89 kB / 454.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1127, allocations: 56.4 MB / 0.4991 GB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005402/0.1181, allocations: 2.954 MB / 0.5019 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1197, allocations: 0.7667 MB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1199, allocations: 11.88 kB / 0.5027 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1201, allocations: 63.38 kB / 0.5028 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1203, allocations: 59.53 kB / 0.5028 GB, free: 12.16 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.0006636/0.121, allocations: 223.4 kB / 0.503 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1214, allocations: 331.2 kB / 0.5033 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1217, allocations: 109.6 kB / 0.5034 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1218, allocations: 159.5 kB / 0.5036 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1221, allocations: 191.1 kB / 0.5038 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.1222, allocations: 36 kB / 0.5038 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.1224, allocations: 159.8 kB / 0.504 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1226, allocations: 115.6 kB / 0.5041 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1227, allocations: 171.1 kB / 0.5042 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.1234, allocations: 0.5135 MB / 0.5047 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1234, allocations: 7.984 kB / 0.5048 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1234, allocations: 0 / 0.5048 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1234, allocations: 0 / 0.5048 GB, free: 10.16 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001487/0.1249, allocations: 0.8058 MB / 0.5055 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1249, allocations: 12.03 kB / 0.5056 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.125, allocations: 36.7 kB / 0.5056 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1254, allocations: 237.9 kB / 0.5058 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1254, allocations: 21.03 kB / 0.5058 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.1255, allocations: 36.38 kB / 0.5059 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.1262, allocations: 403.7 kB / 0.5063 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1262, allocations: 192 / 0.5063 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.1262, allocations: 23.91 kB / 0.5063 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1262, allocations: 8 kB / 0.5063 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1266, allocations: 217.6 kB / 0.5065 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1282, allocations: 1.269 MB / 0.5077 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.1287, allocations: 257.1 kB / 0.508 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1289, allocations: 128.2 kB / 0.5081 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1289, allocations: 4 kB / 0.5081 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.1293, allocations: 236.5 kB / 0.5083 GB, free: 6.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1293, allocations: 0 / 0.5083 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000938/0.1302, allocations: 480.8 kB / 0.5088 GB, free: 5.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.1304, allocations: 182 kB / 0.509 GB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1306, allocations: 223.7 kB / 0.5092 GB, free: 5.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.1307, allocations: 41.7 kB / 0.5092 GB, free: 5.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1308, allocations: 189 kB / 0.5094 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.1309, allocations: 87.41 kB / 0.5095 GB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.131, allocations: 114.1 kB / 0.5096 GB, free: 4.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1312, allocations: 338.8 kB / 0.5099 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1314, allocations: 104.9 kB / 0.51 GB, free: 4.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.1318, allocations: 273.5 kB / 0.5103 GB, free: 4.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.1324, allocations: 400.2 kB / 0.5106 GB, free: 3.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1324, allocations: 3.938 kB / 0.5107 GB, free: 3.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007304/0.1331, allocations: 432.7 kB / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1331, allocations: 8 kB / 0.5111 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1331, allocations: 8.656 kB / 0.5111 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1332, allocations: 11.94 kB / 0.5111 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1334, allocations: 63.91 kB / 0.5112 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1334, allocations: 11.94 kB / 0.5112 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.1336, allocations: 31.78 kB / 0.5112 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.1336, allocations: 27.98 kB / 0.5112 GB, free: 3.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (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,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.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,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 (58): * Single equations (assignments): 58 * 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.0002491/0.1339, allocations: 203 kB / 0.5114 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.1339, allocations: 31.84 kB / 0.5114 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.1345, allocations: 295.4 kB / 0.5117 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1345, allocations: 11.94 kB / 0.5117 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1345, allocations: 4.297 kB / 0.5117 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1345, allocations: 0 / 0.5117 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.1357, allocations: 0.751 MB / 0.5125 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1357, allocations: 4 kB / 0.5125 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.1357, allocations: 15.98 kB / 0.5125 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1357, allocations: 8 kB / 0.5125 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1358, allocations: 7.984 kB / 0.5125 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1358, allocations: 0 / 0.5125 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1358, allocations: 4 kB / 0.5125 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.1365, allocations: 0.4935 MB / 0.513 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1365, allocations: 23.8 kB / 0.513 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1366, allocations: 11.98 kB / 0.513 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1367, allocations: 4 kB / 0.513 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.1367, allocations: 20.06 kB / 0.5131 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.1368, allocations: 19.92 kB / 0.5131 GB, free: 1.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1369, allocations: 132 kB / 0.5132 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1369, allocations: 0 / 0.5132 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000495/0.1374, allocations: 127.7 kB / 0.5133 GB, free: 0.7969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * 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.0007985/0.1382, allocations: 320.2 kB / 0.5136 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.1388, allocations: 296.1 kB / 0.5139 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1388, allocations: 0 / 0.5139 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.139, allocations: 123.8 kB / 0.514 GB, free: 124 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1395, allocations: 56.25 kB / 0.5141 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.3332, allocations: 0.573 MB / 0.5146 GB, free: 21.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3334, allocations: 0.7787 MB / 0.5154 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.3334, allocations: 31.02 kB / 0.5154 GB, free: 20.51 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3334, allocations: 0 / 0.5154 GB, free: 20.51 MB / 382.1 MB Notification: Performance of Templates: time 0.007632/0.3411, allocations: 4.948 MB / 0.5203 GB, free: 20.13 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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_SharedMemoryExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.cpp:17: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.h:170:13: warning: '_realExpression1_P_y_' macro redefined [-Wmacro-redefined] #define _realExpression1_P_y_ _pointerToRealVars[3] ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.h:167:13: note: previous definition is here #define _realExpression1_P_y_ _pointerToRealVars[0] ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerFunctions.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_SharedMemoryExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerFunctions.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, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.1687050990294665] Failed to read output from testmodel.py, exit status != 0: 0.3494563619606197 0.361105334 0.234959159 Calling exit ...