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.0007594/0.0007594, allocations: 84.44 kB / 20.73 MB, free: 3.832 MB / 18.57 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.0007689/0.0007689, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 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 0.8398/0.8398, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.03409/0.03409, allocations: 9.144 MB / 269.9 MB, free: 4.453 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.503e-06/1.503e-06, allocations: 0 / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.034e-05, allocations: 9.031 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003753/0.003773, allocations: 2.872 MB / 401.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.00516, allocations: 0.7315 MB / 401.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.005283, allocations: 7.938 kB / 401.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.00552, allocations: 67.28 kB / 402 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.005696, allocations: 55.45 kB / 402 MB, free: 11.79 MB / 330.7 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.0005482/0.006244, allocations: 239.1 kB / 402.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.006588, allocations: 323.2 kB / 402.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.00681, allocations: 113.7 kB / 402.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.007029, allocations: 227.5 kB / 402.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.007247, allocations: 135.5 kB / 403.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.007299, allocations: 39.94 kB / 403.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.007506, allocations: 151.8 kB / 403.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.007618, allocations: 119.6 kB / 403.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.007722, allocations: 107.7 kB / 403.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.00826, allocations: 0.5333 MB / 404 MB, free: 9.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008262, allocations: 4 kB / 404 MB, free: 9.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008263, allocations: 7.938 kB / 404 MB, free: 9.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.008268, allocations: 0 / 404 MB, free: 9.812 MB / 330.7 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.001117/0.009386, allocations: 0.8026 MB / 404.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.009415, allocations: 8.031 kB / 404.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.009479, allocations: 44.64 kB / 404.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.009682, allocations: 233.7 kB / 405.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.009708, allocations: 25.03 kB / 405.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.009739, allocations: 36.36 kB / 405.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.01014, allocations: 395.9 kB / 405.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01016, allocations: 4.188 kB / 405.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.01018, allocations: 16.36 kB / 405.6 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01019, allocations: 8.375 kB / 405.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.01044, allocations: 221.7 kB / 405.8 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.01131, allocations: 1.141 MB / 406.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01159, allocations: 261.1 kB / 407.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.0117, allocations: 132.1 kB / 407.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01173, allocations: 4 kB / 407.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.01195, allocations: 244.6 kB / 407.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.01195, allocations: 0 / 407.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005746/0.01252, allocations: 471.6 kB / 408 MB, free: 5.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.01259, allocations: 178 kB / 408.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.01274, allocations: 231.7 kB / 408.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.01277, allocations: 41.69 kB / 408.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01287, allocations: 188.8 kB / 408.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.01293, allocations: 83.31 kB / 408.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01304, allocations: 114.2 kB / 408.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01314, allocations: 347 kB / 409.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.01327, allocations: 104.9 kB / 409.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.01345, allocations: 281.4 kB / 409.6 MB, free: 3.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.01377, allocations: 392.2 kB / 409.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01377, allocations: 8 kB / 409.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004772/0.01425, allocations: 417.4 kB / 410.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01427, allocations: 16.11 kB / 410.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.01427, allocations: 4 kB / 410.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01429, allocations: 8 kB / 410.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01442, allocations: 63.84 kB / 410.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01443, allocations: 11.94 kB / 410.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.01452, allocations: 39.73 kB / 410.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.01454, allocations: 31.86 kB / 410.5 MB, free: 2.824 MB / 330.7 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.0001453/0.01469, allocations: 215.4 kB / 410.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.01472, allocations: 27.86 kB / 410.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.01505, allocations: 290.6 kB / 411 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01505, allocations: 4 kB / 411 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01506, allocations: 4 kB / 411.1 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01506, allocations: 3.984 kB / 411.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.01562, allocations: 0.6541 MB / 411.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01563, allocations: 0 / 411.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.01566, allocations: 15.92 kB / 411.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01566, allocations: 8 kB / 411.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01568, allocations: 11.98 kB / 411.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01568, allocations: 7.938 kB / 411.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01568, allocations: 0 / 411.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.01608, allocations: 0.4896 MB / 412.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.0161, allocations: 23.8 kB / 412.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.01612, allocations: 11.98 kB / 412.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.01618, allocations: 7.938 kB / 412.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.01622, allocations: 19.97 kB / 412.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.01624, allocations: 19.98 kB / 412.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.01631, allocations: 132.6 kB / 412.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01631, allocations: 4.094 kB / 412.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.0166, allocations: 131.5 kB / 412.6 MB, free: 0.6875 MB / 330.7 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.0003973/0.017, allocations: 322 kB / 412.9 MB, free: 436 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.01733, allocations: 294.5 kB / 413.2 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01733, allocations: 0 / 413.2 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01746, allocations: 119.9 kB / 413.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1122/0.1297, allocations: 53.59 kB / 413.4 MB, free: 27.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.1305, allocations: 0.5883 MB / 413.9 MB, free: 27.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.1306, allocations: 174.6 kB / 414.1 MB, free: 27.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1306, allocations: 25.91 kB / 414.1 MB, free: 27.46 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1306, allocations: 0 / 414.1 MB, free: 27.46 MB / 330.7 MB Notification: Performance of Templates: time 0.005416/0.136, allocations: 5.046 MB / 419.2 MB, free: 27 MB / 330.7 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/jenkins/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/jenkins/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] 170 | #define _realExpression1_P_y_ _pointerToRealVars[3] | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.h:167:13: note: previous definition is here 167 | #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' 452 | 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 144 | 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 *' 215 | smb->shmptr = mmap(0, smb->shm_size, PROT_WRITE|PROT_READ, MAP_SHARED, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216 | smb->shmdes,0); | ~~~~~~~~~~~~~~ 1 warning and 2 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.438617527484894] Failed to read output from testmodel.py, exit status != 0: 0.14169137179851532 0.148134438 0.13843898200000002 Calling exit ...