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.001845/0.001845, 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.002389/0.002389, allocations: 202.8 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 7.77 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.06239/0.06239, allocations: 12.23 MB / 326.2 MB, free: 7.02 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.002355/0.002355, allocations: 67.89 kB / 454.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1394, allocations: 56.4 MB / 0.499 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.006086/0.1455, allocations: 2.874 MB / 0.5018 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1474, allocations: 0.7355 MB / 0.5025 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.1476, allocations: 7.938 kB / 0.5025 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.148, allocations: 67.31 kB / 0.5026 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1483, allocations: 51.59 kB / 0.5026 GB, free: 12.07 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.0008211/0.1491, allocations: 231.3 kB / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.1495, allocations: 327.2 kB / 0.5031 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1498, allocations: 109.7 kB / 0.5033 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.15, allocations: 155.5 kB / 0.5034 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.1502, allocations: 167.2 kB / 0.5036 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.1503, allocations: 36 kB / 0.5036 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.1506, allocations: 155.8 kB / 0.5037 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1507, allocations: 111.6 kB / 0.5039 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1509, allocations: 139.2 kB / 0.504 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.1515, allocations: 0.5174 MB / 0.5045 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1515, allocations: 3.984 kB / 0.5045 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1515, allocations: 4 kB / 0.5045 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1515, allocations: 4 kB / 0.5045 GB, free: 10.13 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.001559/0.1531, allocations: 0.8058 MB / 0.5053 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1531, allocations: 8.031 kB / 0.5053 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1533, allocations: 40.7 kB / 0.5053 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1536, allocations: 242.4 kB / 0.5056 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.1537, allocations: 25.03 kB / 0.5056 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.1537, allocations: 36.31 kB / 0.5056 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.1544, allocations: 395.8 kB / 0.506 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1544, allocations: 4.125 kB / 0.506 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.1545, allocations: 19.92 kB / 0.506 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1545, allocations: 12 kB / 0.506 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.1549, allocations: 209.6 kB / 0.5062 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1565, allocations: 1.14 MB / 0.5073 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.157, allocations: 261.1 kB / 0.5076 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.1572, allocations: 120.2 kB / 0.5077 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.1572, allocations: 11.92 kB / 0.5077 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1576, allocations: 224.6 kB / 0.5079 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.1576, allocations: 0 / 0.5079 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009887/0.1586, allocations: 484.8 kB / 0.5084 GB, free: 5.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1587, allocations: 182 kB / 0.5086 GB, free: 5.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.159, allocations: 231.6 kB / 0.5088 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.159, allocations: 37.7 kB / 0.5088 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1592, allocations: 188.8 kB / 0.509 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.1593, allocations: 87.3 kB / 0.5091 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1594, allocations: 114.2 kB / 0.5092 GB, free: 4.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1596, allocations: 334.8 kB / 0.5095 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1598, allocations: 108.9 kB / 0.5096 GB, free: 4.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1601, allocations: 277.7 kB / 0.5099 GB, free: 4.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.1607, allocations: 400.5 kB / 0.5103 GB, free: 3.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1607, allocations: 7.938 kB / 0.5103 GB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007668/0.1615, allocations: 428.7 kB / 0.5107 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1615, allocations: 8.656 kB / 0.5107 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.1615, allocations: 4 kB / 0.5107 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1615, allocations: 12 kB / 0.5107 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1618, allocations: 63.84 kB / 0.5108 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.1618, allocations: 15.92 kB / 0.5108 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.162, allocations: 35.78 kB / 0.5108 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.162, allocations: 20 kB / 0.5108 GB, free: 3.152 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.0002776/0.1623, allocations: 211.1 kB / 0.511 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.1623, allocations: 27.81 kB / 0.5111 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.1629, allocations: 299.4 kB / 0.5114 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1629, allocations: 11.88 kB / 0.5114 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.1629, allocations: 4 kB / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1629, allocations: 0 / 0.5114 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1641, allocations: 0.6541 MB / 0.512 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1641, allocations: 0 / 0.512 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.1641, allocations: 8 kB / 0.512 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.1641, allocations: 7.938 kB / 0.512 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1642, allocations: 11.98 kB / 0.512 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1642, allocations: 7.984 kB / 0.512 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1642, allocations: 7.938 kB / 0.5121 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.1649, allocations: 493.5 kB / 0.5125 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1649, allocations: 31.88 kB / 0.5126 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.165, allocations: 15.94 kB / 0.5126 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1651, allocations: 11.98 kB / 0.5126 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.1651, allocations: 23.91 kB / 0.5126 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.1652, allocations: 15.98 kB / 0.5126 GB, free: 1.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1653, allocations: 132 kB / 0.5127 GB, free: 1.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1653, allocations: 0 / 0.5127 GB, free: 1.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.1658, allocations: 127.6 kB / 0.5129 GB, free: 0.9961 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.000806/0.1666, allocations: 325.4 kB / 0.5132 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.1672, allocations: 296.6 kB / 0.5135 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1672, allocations: 0 / 0.5135 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.1674, allocations: 121.9 kB / 0.5136 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1678, allocations: 56.42 kB / 0.5136 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.225/0.3929, allocations: 0.5775 MB / 0.5142 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.393, allocations: 176.5 kB / 0.5144 GB, free: 21.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.3931, allocations: 30.56 kB / 0.5144 GB, free: 21.19 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3931, allocations: 0 / 0.5144 GB, free: 21.19 MB / 382.1 MB Notification: Performance of Templates: time 0.007797/0.4009, allocations: 4.997 MB / 0.5193 GB, free: 20.8 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 -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_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.432182043325156] Failed to read output from testmodel.py, exit status != 0: 0.4097607899457216 0.421502237 0.26692056000000003 Calling exit ...