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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 114.8 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 187.7 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 249.2 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06092/0.06092, allocations: 12.16 MB / 316.2 MB, free: 256 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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.001962/0.001962, allocations: 67.89 kB / 440.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 55.16 MB / 495.9 MB, free: 24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.00387/0.2502, allocations: 2.824 MB / 498.7 MB, free: 21.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2514, allocations: 0.7607 MB / 499.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2515, allocations: 4.656 kB / 499.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2517, allocations: 76.09 kB / 499.5 MB, free: 21.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.2518, allocations: 51.66 kB / 499.6 MB, free: 21.09 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.2524, allocations: 219 kB / 499.8 MB, free: 20.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.2527, allocations: 329.2 kB / 0.4884 GB, free: 20.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2529, allocations: 127.7 kB / 0.4885 GB, free: 20.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2531, allocations: 155.1 kB / 0.4887 GB, free: 20.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.2532, allocations: 195.3 kB / 0.4889 GB, free: 20.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.2533, allocations: 36.84 kB / 0.4889 GB, free: 20.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.2536, allocations: 148.6 kB / 0.489 GB, free: 20.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.2536, allocations: 119.8 kB / 0.4891 GB, free: 20.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2538, allocations: 166 kB / 0.4893 GB, free: 20.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.2542, allocations: 0.5196 MB / 0.4898 GB, free: 19.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2542, allocations: 4 kB / 0.4898 GB, free: 19.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2542, allocations: 1 kB / 0.4898 GB, free: 19.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2542, allocations: 0 / 0.4898 GB, free: 19.73 MB / 366.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.001145/0.2554, allocations: 0.8726 MB / 0.4907 GB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2554, allocations: 13.14 kB / 0.4907 GB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.2555, allocations: 43.52 kB / 0.4907 GB, free: 18.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2557, allocations: 296.4 kB / 0.491 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.2558, allocations: 27.83 kB / 0.491 GB, free: 18.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.2558, allocations: 35.47 kB / 0.4911 GB, free: 18.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.2564, allocations: 400.1 kB / 0.4914 GB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2565, allocations: 1.25 kB / 0.4914 GB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.2565, allocations: 15.53 kB / 0.4915 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2565, allocations: 9.25 kB / 0.4915 GB, free: 18.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2569, allocations: 214.9 kB / 0.4917 GB, free: 18.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.2581, allocations: 1.313 MB / 0.493 GB, free: 17.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2584, allocations: 258.8 kB / 0.4932 GB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2586, allocations: 127.2 kB / 0.4933 GB, free: 16.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.2587, allocations: 8.672 kB / 0.4933 GB, free: 16.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.259, allocations: 231 kB / 0.4936 GB, free: 16.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.155e-06/0.259, allocations: 0 / 0.4936 GB, free: 16.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008488/0.2598, allocations: 487.4 kB / 0.494 GB, free: 16.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2599, allocations: 172.7 kB / 0.4942 GB, free: 16.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.2601, allocations: 233 kB / 0.4944 GB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2601, allocations: 39.92 kB / 0.4944 GB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.2602, allocations: 191.6 kB / 0.4946 GB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.2603, allocations: 85.67 kB / 0.4947 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2604, allocations: 111.5 kB / 0.4948 GB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.2605, allocations: 336.8 kB / 0.4951 GB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2606, allocations: 109.1 kB / 0.4952 GB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2609, allocations: 275.1 kB / 0.4955 GB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.2613, allocations: 406.7 kB / 0.4959 GB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2613, allocations: 1 kB / 0.4959 GB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006115/0.2619, allocations: 429.5 kB / 0.4963 GB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.262, allocations: 7.406 kB / 0.4963 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.262, allocations: 6.312 kB / 0.4963 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.262, allocations: 11.81 kB / 0.4963 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2622, allocations: 67.66 kB / 0.4964 GB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.2622, allocations: 16.08 kB / 0.4964 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.2624, allocations: 42.67 kB / 0.4964 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.2624, allocations: 21.97 kB / 0.4965 GB, free: 14.29 MB / 366.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.0001733/0.2626, allocations: 198.7 kB / 0.4967 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.2627, allocations: 33.47 kB / 0.4967 GB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.2631, allocations: 296.7 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2631, allocations: 4.219 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2631, allocations: 1.188 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2631, allocations: 2.156 kB / 0.497 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/0.264, allocations: 0.7812 MB / 0.4977 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.264, allocations: 1.094 kB / 0.4977 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.2641, allocations: 17.31 kB / 0.4978 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2641, allocations: 6.406 kB / 0.4978 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.2641, allocations: 9.734 kB / 0.4978 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2641, allocations: 6.219 kB / 0.4978 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2641, allocations: 1.156 kB / 0.4978 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.2647, allocations: 0.4938 MB / 0.4983 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.2648, allocations: 104.5 kB / 0.4984 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.2648, allocations: 11.17 kB / 0.4984 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2649, allocations: 11.27 kB / 0.4984 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.265, allocations: 13.92 kB / 0.4984 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.265, allocations: 18.7 kB / 0.4984 GB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.2651, allocations: 125.8 kB / 0.4985 GB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2651, allocations: 1.281 kB / 0.4985 GB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.2656, allocations: 132.4 kB / 0.4987 GB, free: 12.71 MB / 366.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.0006852/0.2663, allocations: 312.8 kB / 0.499 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.2668, allocations: 296.1 kB / 0.4992 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2668, allocations: 1.25 kB / 0.4992 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.267, allocations: 123.8 kB / 0.4994 GB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2674, allocations: 53.84 kB / 0.4994 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.2683, allocations: 0.5864 MB / 0.5 GB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2685, allocations: 0.7792 MB / 0.5007 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2685, allocations: 27.94 kB / 0.5008 GB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2685, allocations: 0 / 0.5008 GB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.007007/0.2755, allocations: 4.96 MB / 0.5056 GB, free: 8.578 MB / 366.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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 2.1.1-master/Resources/Include/MDDSharedMemory.h:215:23: error: assigning to 'caddr_t' (aka 'char *') from incompatible type 'void *' smb->shmptr = mmap(0, smb->shm_size, PROT_WRITE|PROT_READ, MAP_SHARED, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerFunctions.cpp:405:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerFunctions.cpp:426:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 1 warning and 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.101548125036061] Failed to read output from testmodel.py, exit status != 0: 0.28321649390272796 0.29328580200000004 0.036119225000000005 Calling exit ...